mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Since r63443, `-std=gnu99 -D_XOPEN_SOUCE=x00` is added to Solaris' `CPPFLAGS`. `CPPFLAGS` is shared among `CC` / `CXX`. This results in both `__STDC_VERSION__` and `__cplusplus` to be defined at the same time for a C++ compilation, only on Solaris. It seems the `CPPFLAGS` addition is intentional. We sould not touch that part. Instead we need to reroute this by always check for `__cplusplus` first. |
||
|---|---|---|
| .. | ||
| arithmetic | ||
| attr | ||
| compiler_is | ||
| core | ||
| has | ||
| intern | ||
| anyargs.h | ||
| arithmetic.h | ||
| assume.h | ||
| cast.h | ||
| compiler_is.h | ||
| compiler_since.h | ||
| config.h | ||
| constant_p.h | ||
| core.h | ||
| ctype.h | ||
| dllexport.h | ||
| dosish.h | ||
| error.h | ||
| eval.h | ||
| event.h | ||
| fl_type.h | ||
| gc.h | ||
| glob.h | ||
| globals.h | ||
| interpreter.h | ||
| iterator.h | ||
| memory.h | ||
| method.h | ||
| module.h | ||
| newobj.h | ||
| rgengc.h | ||
| scan_args.h | ||
| special_consts.h | ||
| static_assert.h | ||
| stdalign.h | ||
| stdbool.h | ||
| symbol.h | ||
| token_paste.h | ||
| value.h | ||
| value_type.h | ||
| variable.h | ||
| warning_push.h | ||
| xmalloc.h | ||