Skip to content

Boost:GIL / LibPNG 1.4; ‘int_p_NULL’ was not declared in this scope #8

@GoogleCodeExporter

Description

@GoogleCodeExporter

What steps will reproduce the problem?

Compile using cmake .


What is the expected output? What do you see instead?

During compilation, the following error message occurs:
error: ‘int_p_NULL’ was not declared in this scope


What version of the product are you using? On what operating system?

gilviewer revision 120
Arch Linux, kernel 2.6.35
gcc 4.5
libpng 1.4.3


Please provide any additional information below.

This is an issue within the GIL extension; libpng 1.4 dropped declaration for 
int_p_NULL; the following needs to be added within GIL or before inclusion of 
GIL headers:
#define int_p_NULL (int*)NULL

Reference: http://libpng.sourceforge.net/ANNOUNCE-1.4.1.txt

Original issue reported on code.google.com by dfs...@gmail.com on 26 Aug 2010 at 2:33

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions