antlr/runtime
ArthurSonzogni f68c47a988 Fix clang compile error with --stdlib=libc++
On linux. Most users haven't installed libc++-dev, but ANTLR is passing
the "--stdlib=libc++" argument. As a result, this won't compile. Users
will see:
```
/tmp/antlr4/runtime/Cpp/runtime/src/antlr4-common.h:8:10: fatal error:
'algorithm' file not found
```

This is caused by the "WITH_LIBCXX" option.
It was introduced by:
d46ef90aa0

It causes the option "--stdlib=libc++" to be appended by default.

I believe its default value should have been left as "Off".

With "off" by default, clang will use its default C++ library, which is
always available.

The WITH_LIBCXX option is kept, being able to change the C++ library
might be useful?

BUG=https://github.com/antlr/antlr4/issues/2898
2020-09-06 15:30:54 +02:00
..
CSharp refactored AntlrInputStream.cs by removing a redundand if-statement 2020-04-08 18:24:58 +03:00
Cpp Fix clang compile error with --stdlib=libc++ 2020-09-06 15:30:54 +02:00
Dart Add docs for Dart target 2020-05-31 00:35:07 +10:00
Go/antlr Thread-safe ANTLR Go codegen 2020-05-01 01:57:54 -07:00
Java Correct doc on exitRule 2020-03-16 00:16:03 -04:00
JavaScript Fix a NPE 2020-07-12 22:12:02 +08:00
PHP@62779f9c34 Update PHP Runtime to latest version 2020-01-18 10:20:39 -08:00
Python2 Copy documentation to all non-Java languages 2020-03-17 16:03:29 -04:00
Python3 Copy documentation to all non-Java languages 2020-03-17 16:03:29 -04:00
Swift Copy documentation to all non-Java languages 2020-03-17 16:03:29 -04:00