You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Trying to build the Python extension using GCC with a version higher than
4.5.
What is the expected output? What do you see instead?
Expected is the proper building of the extension. Instead the process runs into
several errors of the following type *error: ‘NULL’ was not declared in
this scope* leading to gcc failing with exit status 1.
What version of the product are you using? On what operating system?
poly2tri 0.3.3 Python extension compiled with GCC 4.6.2 under MinGW
Please provide any additional information below.
According to
http://stackoverflow.com/questions/462165/error-null-was-not-declared-in-this-sc
ope this can be traced back to GCC 4.6 no longer accepting the NULL constant.
To use it the following statement needs to be included:
#include <cstddef>
I did so in sweep_context.h and the extension was built as it should be.
Original issue reported on code.google.com by reinhold...@googlemail.com on 9 Mar 2012 at 8:24
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
reinhold...@googlemail.com
on 9 Mar 2012 at 8:24The text was updated successfully, but these errors were encountered: