Re: Flex on macOS

2023-08-01 Thread Hans Åberg
> On 1 Aug 2023, at 10:24, Jean Abou Samra wrote: > > pre,code,address { margin: 0px; } h1,h2,h3,h4,h5,h6 { margin-top: 0.2em; > margin-bottom: 0.2em; } ol,ul { margin-top: 0em; margin-bottom: 0em; } > blockquote { margin-top: 0em; margin-bottom: 0em; } > Le lundi 31 juillet 2023 à 22:29

Re: Flex on macOS

2023-08-01 Thread Jean Abou Samra
Le lundi 31 juillet 2023 à 22:52 +0200, Jonas Hahnfeld a écrit : > Right, it also comes up with "brew bundle cleanup"... Did you manually > install it for your environment during the weekend? Yes. > I'm relatively sure I didn't, it may have come in as a dependency in the past > (even though >

Re: Flex on macOS

2023-08-01 Thread Jean Abou Samra
Le lundi 31 juillet 2023 à 22:29 +0200, Hans Åberg a écrit : > Apple has patched their version of Flex so that the generated .cc file must be > used with their header FlexLexer.h. I don't think this is the problem. Before I installed Flex from Homebrew, the only Flex installation was the system

Re: Flex on macOS

2023-07-31 Thread Jonas Hahnfeld via Discussions on LilyPond development
On Mon, 2023-07-31 at 09:54 +0200, Jean Abou Samra wrote: > > Yes, but flex has always been there as a dependency of some other > > package I think, only not added in your environment variables. We can > > explicitly add it to the Brewfile if you think that's better, but it > > shouldn't change

Re: Flex on macOS

2023-07-31 Thread Hans Åberg
> On 31 Jul 2023, at 01:15, Jean Abou Samra wrote: > > I noticed that the macOS-provided flex version (on the MacStadium node > provided > by Marnen, which runs the unsupported macOS Catalina) was ~10 years old, so I > installed Flex from Homebrew (required setting CPPFLAG

Re: Flex on macOS

2023-07-31 Thread Jean Abou Samra
> Yes, but flex has always been there as a dependency of some other > package I think, only not added in your environment variables. We can > explicitly add it to the Brewfile if you think that's better, but it > shouldn't change the set of already installed packages. Hm, I just SSHed into the

Re: Flex on macOS

2023-07-30 Thread Jonas Hahnfeld via Discussions on LilyPond development
ges > somewhere.) IIRC it complains about the 'register' keyword which is an error with C++17, ie since the last release. > I noticed that the macOS-provided flex version (on the MacStadium node > provided by Marnen, which runs the unsupported macOS Catalina) was > ~10 years old, so I i

Re: Flex on macOS

2023-07-30 Thread Werner LEMBERG
> Apart from that, even though it took me a lot of time due to having > to set up all the VMs etc., the release went quite smoothly. Thank > you Jonas for thoroughly documenting the release procedure in the > CG. Thanks to both of you! Werner

Flex on macOS

2023-07-30 Thread Jean Abou Samra
Hi, As a follow-up to the release: on macOS I encountered a quirk which is that the compiler spit out build errors on the Flex-generated lexer out/lexer.cc. (Now I find myself stupid for not saving the error messages somewhere.) I noticed that the macOS-provided flex version (on the MacStadium