I thoought it might have been the old version, but when I compile that code without the -pedantic flag, it works fine and doesn't complain about the nested function. One would expect the -ansi flag to be sufficient. But oh well. I guess if you want your code to be portable across compilers, you better use -pedantic.
>>69
You're using a different language, whatever piece of shit toy language you're using it does not conform to the C standard, therefore it must be a different language.
Name:
Anonymous2011-12-29 0:43
>>84
GNU GCC C is a toy language, say it faggot. FUCKING SAY IT
Name:
Anonymous2011-12-29 0:52
>>85
ANSI C is a faggot toy language, real men use GNU C.
Name:
Anonymous2011-12-29 0:55
>>86
K & R C > ANSI C > ISO C > GNU C > TOY LANGUAGE C
>>87 In 1983, the American National Standards Institute (ANSI) formed a committee, X3J11, to establish a standard specification of C. In 1989, the standard was ratified as ANSI X3.159-1989 "Programming Language C". This version of the language is often referred to as ANSI C, Standard C, or sometimes C89.
In 1990, the ANSI C standard (with formatting changes) was adopted by the International Organization for Standardization (ISO) as ISO/IEC 9899:1990, which is sometimes called C90. Therefore, the terms "C89" and "C90" refer to the same programming language.
ANSI, like other national standards bodies, no longer develops the C standard independently, but defers to the ISO C standard. National adoption of updates to the international standard typically occurs within a year of ISO publication.