[petsc-dev] http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2013/12/2 0/examples_master_arch-linux-c89_thrash.log

Jed Brown jedbrown at mcs.anl.gov
Sat Dec 21 22:47:15 CST 2013


Barry Smith <bsmith at mcs.anl.gov> 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131221/264e1d7d/attachment.sig>


More information about the petsc-dev mailing list