Join GitHub today
round() function build failure on Solaris 11 #146
Originally submitted by: Derek Gulbranson
Attempting to build on Solaris 11 returns the following error:
./psycopg/config.h:146:15: error: static declaration of 'round' follows non-static declaration
Commenting out the declaration of the round function at line 146 in psycopg/config.h allowed the build to complete successfully.
Please take a look at ticket #97: somebody was trying to clean up this problem and doesn't look like he succeeded. We haven't heard back from him.
Please provide a patch to change the #if guard around the