Re: Why is gcc going to default to "GNU dialect of ISO C99?"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alexey Salmin wrote:
It all reminds me a story when I won a bottle of beer from my
scientific adviser back in 2005. We had a bet: will gcc compile this
code:
#include <stdio.h>
 int main() {
  printf("a");
  int a;
  printf("b");
  return 0;
}
He was so sure that gcc won't allow it that didn't ever tried :) Thus,
I think gnu extensions by default are not so bad :)
if you use -pedantic it will at least whine about it.

Patrick


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux