Actions
Bug #14366
closedNot possible to compile ruby C extension when using `-std=c90`
Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0p0 (2017-12-25 revision 61468) [i386-mingw32]
Description
DeveloperHowto says that ruby should be C90, not C99, however it's not possible
to compile C extension using -std=c90
command line argument with error:
C:/Ruby25/include/ruby-2.5.0/ruby/defines.h:224:25: warning: ISO C90 does not support 'long long' [-Wlong-long]
# define LONG_LONG long long
as far a I can tell, long long
is only defined by C99
, so defines.h
probably shouldn't contain it.
Actions
Like0
Like0Like0Like0Like0