Hi,
I am pretty new to XCode and Web Objects/ Objective C apps.
I am trying to build an existing Obj C app on my local machine that runs OS X 10.6.2 and getting the below error:
My XCode version is 3.2 and the cc used is gcc-4.0
regexp_stuff.m:1501:23: error: macro "strncpy" requires 3 arguments, but only 1 given
regexp_stuff.m: In function ‘_MOregsub’:
regexp_stuff.m:1501: error: ‘strncpy’ redeclared as different kind of symbol
regexp_stuff.m:1501: warning: unused variable ‘strncpy’
Please let me know if you have any pointers on how to debug this issue.
Thanks!
I am pretty new to XCode and Web Objects/ Objective C apps.
I am trying to build an existing Obj C app on my local machine that runs OS X 10.6.2 and getting the below error:
My XCode version is 3.2 and the cc used is gcc-4.0
regexp_stuff.m:1501:23: error: macro "strncpy" requires 3 arguments, but only 1 given
regexp_stuff.m: In function ‘_MOregsub’:
regexp_stuff.m:1501: error: ‘strncpy’ redeclared as different kind of symbol
regexp_stuff.m:1501: warning: unused variable ‘strncpy’
Please let me know if you have any pointers on how to debug this issue.
Thanks!