Barry Smith <[email protected]> writes:

>   So a known problem that has been hanging around for a long time breaking 
> our tests but never fixed.

Yes, unfortunately.  The right answer depends on what we want -std=c89
to do.  If we intend to use feature test macros to enable POSIX, the
test snippet should do so and then we'll use
PETSC_DESIRE_FEATURE_TEST_MACROS.  If we are trying to produce an
artificially-limited environment that can only be found on very obscure
and obsolete operating systems, then maybe we should have a
--with-feature-test-macros=0 option.

>    Hmm, then maybe it should be removed rom the list 
>
>    functions = ['access', '_access', 'clock', 'drand48', 'getcwd', '_getcwd', 
> 'getdomainname', 'gethostname’,    
>
>    it is confusing to have it tested in two places, I saw this one and just 
> assumed it is the only place.

Indeed.

> request-assigned: petsc-dev missing drand48() prototype with -std=c89

Is this a tagging experiment of yours?

Attachment: pgpAK2qQYY1j0.pgp
Description: PGP signature

Reply via email to