Coder Social home page Coder Social logo

GCC: Warnings in pre-1.9.0 release about adios HOT 2 CLOSED

ax3l avatar ax3l commented on August 24, 2024
GCC: Warnings in pre-1.9.0 release

from adios.

Comments (2)

pnorbert avatar pnorbert commented on August 24, 2024

This warning is intentionally left there to remind us that that particular
piece does not work if a block of data is > 2GB.
It won't be fixed before the release, probably that piece is never executed
in practice.

On Mon, Jul 6, 2015 at 9:04 AM, Axel Huebl [email protected] wrote:

Compiler: gcc 4.8.2 (on Titan/ORNL)

the current master version as of ... still contains a few warnings that
might need a fix before the next release:

write/adios_mpi_amr.c: In function 'adios_mpi_amr_ag_close':
write/adios_mpi_amr.c: In function 'adios_mpi_amr_ag_close':
write/adios_mpi_amr.c:2954:29: warning: passing argument 5 of 'MPI_Gatherv' from incompatible pointer type [enabled by default]
,0, md->g_comm1);
^
In file included from ./public/adios_mpi.h:16:0,
from write/adios_mpi_amr.c:24:
/opt/cray/mpt/7.0.4/gni/mpich2-gnu/48/include/mpi.h:972:5: note: expected 'const int *' but argument is of type 'uint64_t *'
int MPI_Gatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf,
^
write/adios_mpi_amr.c:2954:29: warning: passing argument 5 of 'MPI_Gatherv' from incompatible pointer type [enabled by default]
,0, md->g_comm1);
^
In file included from ./public/adios_mpi.h:16:0,
from write/adios_mpi_amr.c:24:
/opt/cray/mpt/7.0.4/gni/mpich2-gnu/48/include/mpi.h:972:5: note: expected 'const int *' but argument is of type 'uint64_t *'
int MPI_Gatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf,
^
write/adios_mpi_amr.c:2954:29: warning: passing argument 6 of 'MPI_Gatherv' from incompatible pointer type [enabled by default]
,0, md->g_comm1);
^
In file included from ./public/adios_mpi.h:16:0,
from write/adios_mpi_amr.c:24:
/opt/cray/mpt/7.0.4/gni/mpich2-gnu/48/include/mpi.h:972:5: note: expected 'const int *' but argument is of type 'uint64_t *'
int MPI_Gatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf,
^
write/adios_mpi_amr.c:2954:29: warning: passing argument 6 of 'MPI_Gatherv' from incompatible pointer type [enabled by default]
,0, md->g_comm1);
^
In file included from ./public/adios_mpi.h:16:0,
from write/adios_mpi_amr.c:24:
/opt/cray/mpt/7.0.4/gni/mpich2-gnu/48/include/mpi.h:972:5: note: expected 'const int *' but argument is of type 'uint64_t *'
int MPI_Gatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf,
^
write/adios_mpi_amr.c: In function 'adios_mpi_amr_ag_close':
write/adios_mpi_amr.c:2954:29: warning: passing argument 5 of 'MPI_Gatherv' from incompatible pointer type [enabled by default]
,0, md->g_comm1);
^
In file included from ./public/adios_mpi.h:16:0,
from write/adios_mpi_amr.c:24:
/opt/cray/mpt/7.0.4/gni/mpich2-gnu/48/include/mpi.h:972:5: note: expected 'const int *' but argument is of type 'uint64_t *'
int MPI_Gatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf,
^
write/adios_mpi_amr.c:2954:29: warning: passing argument 6 of 'MPI_Gatherv' from incompatible pointer type [enabled by default]
,0, md->g_comm1);
^
In file included from ./public/adios_mpi.h:16:0,
from write/adios_mpi_amr.c:24:
/opt/cray/mpt/7.0.4/gni/mpich2-gnu/48/include/mpi.h:972:5: note: expected 'const int *' but argument is of type 'uint64_t *'
int MPI_Gatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf


Reply to this email directly or view it on GitHub
#51.

from adios.

ax3l avatar ax3l commented on August 24, 2024

all right, thank you for the info!

I added two additional small warnings (redefines in macros) with an online edit for bpls and skeldump (redefine of strndup).

from adios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.