compile warnings in 64 bit build

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

compile warnings in 64 bit build

Aaron Boxer
Just a friendly note: there are a number of compiler warnings about
format specifiers not matching types of variables when building
latest libtiff as 64 bit build under Linux, GCC v 5.4.xxx



_______________________________________________
Tiff mailing list: [hidden email]
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
Reply | Threaded
Open this post in threaded view
|

Re: compile warnings in 64 bit build

Bob Friesenhahn
On Tue, 18 Oct 2016, Aaron Boxer wrote:

> Just a friendly note: there are a number of compiler warnings about
> format specifiers not matching types of variables when building
> latest libtiff as 64 bit build under Linux, GCC v 5.4.xxx

I am not seeing any warnings from the CVS version for a Linux build
configured like:

'CFLAGS=-march=native -O2 -g -g3 -ggdb -gdwarf-2 -Wall -Winline -W
-Wformat-security -Wpointer-arith -Wdisabled-optimization
-Wno-unknown-pragmas -Wdeclaration-after-statement' 'CXXFLAGS=-g -O
-Wall -march=native' '--enable-maintainer-mode' '--enable-shared'
'--enable-old-jpeg' '--enable-silent-rules'

Are you able to try the CVS repository version instead and report any
issues?  There are a great many fixes (particularly security fixes) in
the development version.

As a reminder, the current libtiff web site may be viewed at one of
these two URLs:

  http://www.simplesystems.org/libtiff/
  http://libtiff.maptools.org/

Thanks,

Bob
--
Bob Friesenhahn
[hidden email], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
Tiff mailing list: [hidden email]
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
Reply | Threaded
Open this post in threaded view
|

Re: compile warnings in 64 bit build

Aaron Boxer
Thanks, Bob. I took the master version from here

https://github.com/vadz/libtiff

I am not sure what the build flags are, as I am inheriting the OpenJPEG cmake file for tifflib.
Will investigate.

Aaron



On Tue, Oct 18, 2016 at 9:38 AM, Bob Friesenhahn <[hidden email]> wrote:
On Tue, 18 Oct 2016, Aaron Boxer wrote:

Just a friendly note: there are a number of compiler warnings about
format specifiers not matching types of variables when building
latest libtiff as 64 bit build under Linux, GCC v 5.4.xxx

I am not seeing any warnings from the CVS version for a Linux build configured like:

'CFLAGS=-march=native -O2 -g -g3 -ggdb -gdwarf-2 -Wall -Winline -W -Wformat-security -Wpointer-arith -Wdisabled-optimization -Wno-unknown-pragmas -Wdeclaration-after-statement' 'CXXFLAGS=-g -O -Wall -march=native' '--enable-maintainer-mode' '--enable-shared' '--enable-old-jpeg' '--enable-silent-rules'

Are you able to try the CVS repository version instead and report any issues?  There are a great many fixes (particularly security fixes) in the development version.

As a reminder, the current libtiff web site may be viewed at one of these two URLs:

        http://www.simplesystems.org/libtiff/
        http://libtiff.maptools.org/

Thanks,

Bob
--
Bob Friesenhahn
[hidden email], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


_______________________________________________
Tiff mailing list: [hidden email]
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/