gnu99 Questions
2
I tried to convert something from using the struct hack to using a flexible array member, only to run into the following error message:
error: invalid use of structure with flexible array member...
Neddy asked 8/6, 2014 at 17:28
3
Solved
In an attempt to see what would happen in the case of a float underflow I found that I could make float numbers much smaller than FLT_MIN. I'm using xcode 5.1 on OS 10.9. The language dialect is gn...
Housing asked 6/9, 2014 at 22:20
1
I am used to using -std=c99 to enable c99 features when compiling application code.
Recently I have been following some basic kernel module examples, and added ccflags-y := -std=c99 to the makefil...
Tilley asked 17/5, 2014 at 3:31
1
Solved
This is some code I'm compiling on Linux:
#include <net/if.h>
int main() {
struct ifreq ifr;
}
gcc test.c is fine.
gcc -std=gnu99 test.c is fine.
gcc -std=c99 test.c fails with the fol...
Swell asked 3/5, 2012 at 14:57
1
© 2022 - 2024 — McMap. All rights reserved.