1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby/internal/has
Benoit Daloze d09988502e Fix -Wundef warnings for RBIMPL_HAS_BUILTIN
* See [Feature #17752]
* Defining explicitly to 0 seems the best solution, see https://github.com/ruby/ruby/pull/4428
* For example:
./include/ruby/internal/has/builtin.h:49:33: error: "RBIMPL_HAS_BUILTIN___builtin_assume" is not defined, evaluates to 0 [-Werror=undef]
   49 | # define RBIMPL_HAS_BUILTIN(_) (RBIMPL_HAS_BUILTIN_ ## _)
      |                                 ^~~~~~~~~~~~~~~~~~~
./include/ruby/internal/assume.h:75:7: note: in expansion of macro ‘RBIMPL_HAS_BUILTIN’
   75 | #elif RBIMPL_HAS_BUILTIN(__builtin_assume)
      |       ^~~~~~~~~~~~~~~~~~
2021-05-04 14:56:55 +02:00
..
attribute.h dependency updates 2021-04-13 14:30:21 +09:00
builtin.h Fix -Wundef warnings for RBIMPL_HAS_BUILTIN 2021-05-04 14:56:55 +02:00
c_attribute.h
cpp_attribute.h dependency updates 2021-04-13 14:30:21 +09:00
declspec_attribute.h dependency updates 2021-04-13 14:30:21 +09:00
extension.h
feature.h
warning.h