Johan Danielsson writes:
> This of course depends on what the CC_STDC macro means,
It effectively tries to give a couple of flags to the compiler to make it
a little more modern. That means accepting prototypes and perhaps const,
etc.
> but if it tests for a `ANSI C' compiler, -std is not enoug
>
> Peter Eisentraut <[EMAIL PROTECTED]> writes:
>
> > I've written about it before, here's the patch. It changes
> > AC_PROG_CC_STDC to try the `-std' flag rather than `-std1' (for OSF
> > or Ultrix) because the latter is kind of like 'gcc -ansi' (i.e.,
> > terminally strict).
>
> This
Peter Eisentraut <[EMAIL PROTECTED]> writes:
> I've written about it before, here's the patch. It changes
> AC_PROG_CC_STDC to try the `-std' flag rather than `-std1' (for OSF
> or Ultrix) because the latter is kind of like 'gcc -ansi' (i.e.,
> terminally strict).
This of course depends on what
On Apr 19, 2000, Peter Eisentraut <[EMAIL PROTECTED]> wrote:
> I've written about it before, here's the patch. It changes AC_PROG_CC_STDC
> to try the `-std' flag rather than `-std1' (for OSF or Ultrix) because the
> latter is kind of like 'gcc -ansi' (i.e., terminally strict).
Sounds good, but
>
> Peter Eisentraut writes:
> > I've written about it before, here's the patch. It changes AC_PROG_CC_STDC
> > to try the `-std' flag rather than `-std1' (for OSF or Ultrix) because the
> > latter is kind of like 'gcc -ansi' (i.e., terminally strict).
>
> I've been wondering about this f
Peter Eisentraut writes:
> I've written about it before, here's the patch. It changes AC_PROG_CC_STDC
> to try the `-std' flag rather than `-std1' (for OSF or Ultrix) because the
> latter is kind of like 'gcc -ansi' (i.e., terminally strict).
I've been wondering about this for a while. And I co
I've written about it before, here's the patch. It changes AC_PROG_CC_STDC
to try the `-std' flag rather than `-std1' (for OSF or Ultrix) because the
latter is kind of like 'gcc -ansi' (i.e., terminally strict).
Treat with caution, I don't actually have one of those, but that's what
we're using i