I get a link "undefined to" typeof "" - compiling errors and linking this:
#include <stdio.h> #include <stdlib.h> #include <stddef.h> int main() { typeof(5); return 0; }
The gcc version is 4.3.3, the command line is "gcc.exe -std = c99 1.c -o 1.exe".
By passing the option -std=c99to GCC, you asked to compile it in accordance with the C99 standard, which does not support the keyword typeof.
-std=c99
typeof
You can use instead -std=gnu99.
-std=gnu99
Source: https://habr.com/ru/post/1740617/More articles:How can I put an image in a row using NSString on an iPhone? - iphoneSquare number in NASM assembly without multiplication - assemblyHow to create a runtime protocol in Objective-C? - objective-c$ .each and confusion animations - jqueryEasy loading of flash objects - javascriptDistributed message distribution - architectureApp Engine - Objectify - saving byte [] - google-app-engineFailed to execute DBD :: SQLite :: st: data mismatch - perlWhat is the most efficient way to solve a system of equations containing a dimam function? - mathKeep your Windows Mobile 6 Phone Alive - c #All Articles