Stefano Zampini <[email protected]> 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" <[email protected]>
> 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 [email protected] 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
> [email protected].
signature.asc
Description: PGP signature
