V
Vaethischist
Lirion hat gesagt.:Hab ich auch gedacht, aber GCC macht das und es funktioniert...
Soviel zum Thema "Standards"
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
Lirion hat gesagt.:Hab ich auch gedacht, aber GCC macht das und es funktioniert...
Zugegeben: Es ist nicht standardkonform, soweit ich rausbekommen konnte. GCC bietet die Möglichkeit trotzdem an.Soviel zum Thema "Standards"
lirion@cenobite test> gcc -ansi -pedantic -o main main.c
main.c: In function `funktion1':
main.c:7: warning: ISO C forbids nested functions
main.c:9: warning: ISO C89 forbids mixed declarations and code
Das hab ich nicht getan... Ich hab nur gesagt, dass es in meinen Augen Schwachsinn ist, wenn man NULL doppelt definiert - das gibt irgendwann einfach Probleme.Und Du regst Dich auf, wenn mein VC++ NULL auch als 0 behandelt... *tztz*