Re: RV: [HACKERS] Compilation warning on 9.5

2016-11-08 Thread Robert Haas
On Mon, Nov 7, 2016 at 2:34 PM, Vicky Vergara wrote: > Hello, > > Posting an update to this issue (which by the way also shows up on 9.6) > > Maybe this information is useful for extension developers (that have all > the warnings flags on while developing using GNUC) > > > By wrapping the files a

RV: [HACKERS] Compilation warning on 9.5

2016-11-07 Thread Vicky Vergara
gnostic pop #endif Vicky De: Tom Lane Enviado: viernes, 12 de febrero de 2016 01:45 p. m. Para: Vicky Vergara Cc: pgsql-hackers@postgresql.org Asunto: Re: [HACKERS] Compilation warning on 9.5 Vicky Vergara writes: > I wonder if -std=gnu99 is the correct stan

Re: [HACKERS] Compilation warning on 9.5

2016-02-12 Thread Tom Lane
Vicky Vergara writes: > I wonder if -std=gnu99 is the correct standard to include postgres.h etc. in > 9.5 > because that standard (and all the flags I am using to generate pgrouting > code without warnings) > catches the following catches warnings of type conversions on some postgresql > incl

[HACKERS] Compilation warning on 9.5

2016-02-12 Thread Vicky Vergara
Hello: I am a pgRouting developer. In my CmakeLists.txt I use this flags: set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -fPIC -O2 -g -Wall -Wconversion -pedantic -fmax-errors=10 -Wmissing-prototypes -frounding-math") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -fPIC -O2 -g -Wconvers