Re: incorrectly define macro "howmany"

2015-11-20 Thread Corinna Vinschen
On Nov 20 03:25, Keith Thompson wrote: > The header file /usr/include/sys/types.h defines a macro called "howmany". Incidentally, this is currently under discussion on the newlib list: https://sourceware.org/ml/newlib/2015/msg00789.html . The RTEMS guys are testing my patch suggestion soon, hopefu

incorrectly define macro "howmany"

2015-11-20 Thread Keith Thompson
The header file /usr/include/sys/types.h defines a macro called "howmany". As a result, this strictly conforming program: #include int howmany(void) { return 42; } int main(void) { printf("%d\n", howmany()); } fails to compile with "gcc -std=c11 -pedantic"