bug-gnulib
[Top][All Lists]
Advanced

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

Re: coreutils-6.5: yet another C89 problem


From: Matthew Woehlke
Subject: Re: coreutils-6.5: yet another C89 problem
Date: Tue, 28 Nov 2006 10:17:21 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]