Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001203graphvizDotpublic2007-11-16 11:432011-04-28 04:03
ReporterAlexander Berger 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSPowerPC-Other-AIX 5.3OS Version
Summary0001203: Missing header during build on AIX
Description



In the source file "lib/gd/gd_png.c" the header file "setjmp.h" is not
included. The code looks like this:
<CD>
#ifdef HAVE_LIBPNG



#include "gdhelpers.h"
#include "png.h" /* includes zlib.h and setjmp.h */
..
</CD>



But in "png.h" (at least as of version 1.2.23 of libpng) setjmp.h isn't
included either. So this results in a compile time error causing the
compiler (gcc) to abort because of missing typedefs for "jmp_buf".



Workaround:



When adding the following include statement to "lib/gd/gd_png.c" it will
compile without any problems:



#include <setjmp.h>
Additional Information

I've added this change to the internal lib/gd sources. Thanks.

It would be better, going forward, if you separately installed gd >= 2.0.34 from http://www.libgd.org/ [^]
At some point I hope to remove our copy of gd sources.

TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT 
When adding the following include statement to 'lib/gd/gd_png.c' it will
compile without any problems:

#include <setjmp.h>
FORMER-ID1234
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (16 Nov 2007)
VERSION     2.16
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user695


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker