Re: Compilation warning on 9.5

From: Christoph Berg <myon(at)debian(dot)org>
To: Vicky Vergara <vicky_vergara(at)hotmail(dot)com>
Cc: "pgeu-general(at)postgresql(dot)org" <pgeu-general(at)postgresql(dot)org>
Subject: Re: Compilation warning on 9.5
Date: 2016-02-12 17:12:17
Message-ID: 20160212171217.GA1927@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgeu-general

Re: Vicky Vergara 2016-02-12 <BAY177-W104EC0B93C9FC5453B04CD8AA90(at)phx(dot)gbl>
> 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 -Wconversion -Wall -pedantic -fmax-errors=10 -Wextra -frounding-math -Wno-deprecated")
> (Currently I am using 9.3 for developing)
> but for testing I use travis CI framework and test pgRouting using postgresql 9.1 to 9.5
>
> I wonder what is wrong with the flags when using 9.5 because I am getting this kind of warnings when using 9.5, but these warnings don't show on 9.1 to 9.4.

Hi,

I don't see any warnings related to uint or int32 in the builds for
apt.postgresql.org, PG versions 9.1..9.5. That's on Debian unstable,
jessie, and Ubuntu trusty. (We don't build pgrouting for precise
because libcgal-dev is only in "multiverse" there.)

Though the CFLAGS might be less pedantic there. No idea what's used
there, cmake is hiding that part well.

> This is the first time I post something to a postgresql mailing list, so maybe I chose the wrong mailing list,
> if that is the case, please tell me to which mailing list I should send this.

The pgsql-general list (as opposed to pgeu-) has much more
subscribers.

Christoph
--
cb(at)df7cb(dot)de | http://www.df7cb.de/

In response to

Browse pgeu-general by date

  From Date Subject
Next Message Daniel Gustafsson 2016-02-17 08:16:53 PostgreSQL Europe Elections 2016: Results available
Previous Message Vicky Vergara 2016-02-12 15:54:00 Compilation warning on 9.5