Search:

Type: Posts; User: Salem

Search: Search took 0.53 seconds.

  1. Replies
    35
    Views
    8,414

    > Well, gcc being my sole compiler, I wasn't...

    > Well, gcc being my sole compiler, I wasn't aware I was using an extension (and without digging, I'm not really sure what one is).
    gcc -W -Wall -ansi -pedantic prog.c
    Will tell you most things...
  2. Replies
    35
    Views
    8,414

    It's nothing to do with fork, it's just illegal C...

    It's nothing to do with fork, it's just illegal C code.
    C doesn't allow nested functions, you're relying on a gcc extension.
Results 1 to 2 of 2