[petsc-dev] PETSc blame digest (next) 2017-06-18

Jed Brown jed at jedbrown.org
Sun Jun 18 11:43:08 CDT 2017


Stefano Zampini <stefano.zampini at gmail.com> writes:

> I don't understand this warning. At first I thought it was  due to not
> including stdio.h. 

man 3 fdopen:

   Feature Test Macro Requirements for glibc (see feature_test_macros(7)):

       fdopen(): _POSIX_C_SOURCE

You should probably add this line at the very top of glvis.c:

#define PETSC_DESIRE_FEATURE_TEST_MACROS /* for fdopen */

> however, stdio.h is included in next and the warning persists
> https://bitbucket.org/petsc/petsc/src/2aaff10d01f23f1202cddc2c5df9579cc766de36/src/sys/classes/viewer/impls/glvis/glvis.c?at=next&fileviewer=file-view-default#glvis.c-685
>
>
> Il 18 Giu 2017 4:00 PM, "PETSc checkBuilds" <petsc-checkbuilds at mcs.anl.gov>
> ha scritto:
>
>
>
> Dear PETSc developer,
>
> This email contains listings of contributions attributed to you by
> `git blame` that caused compiler errors or warnings in PETSc automated
> testing.  Follow the links to see the full log files. Please attempt to fix
> the issues promptly or let us know at petsc-dev at mcs.anl.gov if you are
> unable
> to resolve the issues.
>
> Thanks,
>   The PETSc development team
>
> ----
>
> warnings attributed to commit https://bitbucket.org/petsc/
> petsc/commits/8135c37
> Added initial implementation of GLVis viewer
>
>   src/sys/classes/viewer/impls/glvis/glvis.c:685
>     [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/
> 2017/06/18/build_next_arch-linux-c89_el6.log]
>       /sandbox/petsc/petsc.clone-2/src/sys/classes/viewer/impls/glvis/glvis.c:685:10:
> warning: assignment makes pointer from integer without a cast [enabled by
> default]
>
> ----
> To opt-out from receiving these messages - send a request to
> petsc-dev at mcs.anl.gov.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20170618/30a6ca50/attachment.sig>


More information about the petsc-dev mailing list