clueboy / pymssql_issues

0 stars 0 forks source link

error: unrecognized command line option "-Wno-parentheses-equality" #122

Closed clueboy closed 11 years ago

clueboy commented 11 years ago

From jinyinqiao on June 06, 2013 02:40:10

skipping '_mssql.c' Cython extension (up-to-date) building '_mssql' extension gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/pymssql-2.0.0b1-dev-20130403/freetds/nix_64/include -I/usr/local/include/python2.7 -c _mssql.c -o build/temp.linux-x86_64-2.7/_mssql.o -Wno-parentheses-equality -DMSDBLIB cc1: error: unrecognized command line option "-Wno-parentheses-equality"

Original issue: http://code.google.com/p/pymssql/issues/detail?id=122

clueboy commented 11 years ago

From jinyinqiao on June 08, 2013 01:18:42

I have resolved the issue.

change FREETDS in setup.py as below

_extra_compile_args = [

'-Wno-parentheses-equality',

'-DMSDBLIB'

]

clueboy commented 11 years ago

From cramm0 on June 12, 2013 06:46:03

Please respect the issue template and provide some actual information, or don't use the template but write that info using your own format

For example: What are your plaform? architecture? gcc version?

In its current form this issue deserves no attention.

clueboy commented 11 years ago

From rbraga on June 24, 2013 05:57:08

Hi

I have the same problem.

I'm using red hat [1] with GCC [2] 4.1.2

[1] Linux 2.6.18-194.el5 x86_64 [2] gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)

clueboy commented 11 years ago

From msabramo on July 14, 2013 20:21:36

Ah that option only exists on some versions of clang and not gcc. I'll remove it. Thanks for the report!

Status: Accepted
Owner: msabramo

clueboy commented 11 years ago

From msabramo on July 14, 2013 20:39:12

This should fix the issue: https://code.google.com/p/pymssql/source/detail?r=60c4ec7c4fb2ae48898c65e8685ae78a4a1fc09f If folks who had the problem could verify, that would be great.

Status: Fixed