I am trying to compile on Mac OSX 10.6, following your instructions i get new errors:
/Users/luke/SCA_SDO/SDO_DAS_DataFactory.cpp:524: error: call of overloaded 'setDefault(const commonj::sdo::Type&, char*&, long int)' is ambiguous /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:431: note: candidates are: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const char*, bool) /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:436: note: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const SDOString&, bool) /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:441: note: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const char*, char) /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:446: note: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const SDOString&, char) /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:451: note: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const char*, wchar_t) /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:456: note: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const SDOString&, wchar_t) /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:461: note: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const char*, char*) <near match> /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:471: note: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const char*, short int) /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:476: note: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const SDOString&, short int) /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:494: note: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const char*, int64_t) /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:499: note: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const SDOString&, int64_t) /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:504: note: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const char*, float) /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:509: note: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const SDOString&, float) /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:514: note: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const char*, long double) /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:519: note: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const SDOString&, long double) /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:549: note: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const char*, commonj::sdo::SDODate) /Users/luke/SCA_SDO/commonj/sdo/DataFactory.h:554: note: virtual void commonj::sdo::DataFactory::setDefault(const commonj::sdo::Type&, const SDOString&, commonj::sdo::SDODate) Do you have any idea what might be the cause of this? On 15 Mar, 10:29, cdouglas <ch...@douglas2000.com> wrote: > Hello, > Wanted to share the changes I had to make to the code to get SCA/SDO > to work with 5.3.2 without warnings or errors. If I find more, I will > update. > > If using with PHP >= 5.3.0, you need to make the following source code > changes: > > remove all "static" except "static char rcs_id[] ..." from sdo.cpp. > > Add #include <stdio.h> to commonj/sdo/SDODataConverter.cpp > > /usr/local/lib/php/SCA/SCA_CommentReader.php > Line 381: $targetLine = preg_replace("{[ \t]+}", " ", $targetLine); > Line 385: if (strpos($word,$bindingAnnotation) === 0) { > Line 592: $targetLine = preg_replace("{[ \t]+}", " ", $targetLine); > > /usr/local/lib/php/SCA/SCA_AnnotationRules.php > Line 222: $line = preg_replace("{[ \t]+}", " ", $line); -- You received this message because you are subscribed to the Google Groups "phpsoa" group. To post to this group, send email to php...@googlegroups.com. To unsubscribe from this group, send email to phpsoa+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/phpsoa?hl=en.