ccomparini / fpl2cc

fpl parser generator language
https://ccomparini.github.io/fpl2cc/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Generated code doesn't compile under OSX default clang++ #8

Open ccomparini opened 3 months ago

ccomparini commented 3 months ago

See also https://github.com/ccomparini/fpl2cc/issues/7 , but

sunbird:rage chris$ clang++ src/rage.cc -o bin/rage In file included from src/rage.cc:3: src/util/fs.h:10:2: error: because it uses <filesystem>, we need c++11 or better #error because it uses <filesystem>, we need c++11 or better

.. which is terrible. At the same time, it's terrible that a 13 year old standard is too new for Apple. I dunno.

Possibly the answer is to not use/generate c++.