Andreas Schwab wrote:
Matthew Woehlke writes:(* You would need to (a) somehow force gcc to reject all non-c89 constructs"-std=c89 -pedantic-errors" is supposed to do that.
Agreed, but as I recall, emphasis is needed on "is supposed to". But maybe I recall incorrectly, or had incorrect expectations. At any rate, it can't hurt, I just don't trust it to catch everything that would trip some of the c89 compilers I'm stuck using. :-)
-- Matthew Caution: keep out of reach of adults.