-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello
Is enum type signed or unsigned? Is the Signedness of enums differ in C/C99/ANSI C/C++/C++x/GNU C/ GNU C99?
Thanks
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I was looking at new features of C99 and saw the floating point environment:
#include <fenv.h>
My question is simple. If I'm performing floating point number computations, do I have to include the above preprocessor directive in my code? If no, then what does this directive do and when…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I read with interest the post "How universally is C99 supported ?". One of the comments therein points that Microsoft doesn't support C99. But the comment symbol // works with MVS 2008 and this symbol is in C99. I have two questions:
To what extent MVS 2008 support C99?
Is it ok in the same…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
When I compile a simple Hello World! program that uses the sscanf function on my local Debian lenny x64, it works. But when I upload the same program to the server running CentOS x86, it will not work. If I do not use sscanf, then the program works on both computers.
gcc -std=c99 -O2 -pipe -m32
If…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to compile a linux kernel module using a Makefile:
obj-m += main.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
Which gives me:
main.c:54: warning: ISO C90 forbids mixed declarations and…
>>> More