Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 02-19-2003
Bruce's Avatar
Bruce Bruce is offline
Registered User
 
 
Join Date: Feb 2003
Location: Perth, Western Australia
Posts: 17
XMLString undeclared

Next problem:

make[2]: Entering directory `/home/fountainb/tools/Ice-1.0.0/src/slice2xsd'
<snip>
c++ -c -I. -I../../include -I/usr/local/include -g -ftemplate-depth-128 -fPIC -Wall Validate.cpp
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning: as it has already been specified as a non-system directory
Validate.cpp: In function `std::string toString(const XMLCh*)':
Validate.cpp:36: `XMLString' undeclared (first use this function)

I have xercesc installed in /usr/local, and I don't see any errors
finding /usr/local/include/xercesc/util/XMLString.hpp (although that
warning about search order seems odd). It looks like XMLString.hpp
hasn't been #included.

Any suggestions?

Bruce Fountain
Reply With Quote
  #2 (permalink)  
Old 02-19-2003
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Re: XMLString undeclared

Hi Bruce!

Quote:
Originally posted by Bruce
Next problem:

make[2]: Entering directory `/home/fountainb/tools/Ice-1.0.0/src/slice2xsd'
<snip>
c++ -c -I. -I../../include -I/usr/local/include -g -ftemplate-depth-128 -fPIC -Wall Validate.cpp
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning: as it has already been specified as a non-system directory
Validate.cpp: In function `std::string toString(const XMLCh*)':
Validate.cpp:36: `XMLString' undeclared (first use this function)

I have xercesc installed in /usr/local, and I don't see any errors
finding /usr/local/include/xercesc/util/XMLString.hpp (although that
warning about search order seems odd). It looks like XMLString.hpp
hasn't been #included.

Any suggestions?
This looks suspiciously similar to the incompatibility Derek reported with Xerces 2.2.0.

By any chance is that the version you're using?

Also notice that Derek was kind enough to mention what OS and compiler he was using.
Reply With Quote
  #3 (permalink)  
Old 02-19-2003
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Regarding the compiler message about including /usr/local: I think the compiler is simply warning you that you've explicitly specified a "system" directory, i.e., one that the compiler includes by default, and that by specifying it you've effectively moved the order in which it will be used. I recommend not specifying this directive.
Reply With Quote
  #4 (permalink)  
Old 02-19-2003
Bruce's Avatar
Bruce Bruce is offline
Registered User
 
 
Join Date: Feb 2003
Location: Perth, Western Australia
Posts: 17
Thumbs up Re: Re: XMLString undeclared

Quote:
Originally posted by mes
This looks suspiciously similar to the incompatibility Derek reported with Xerces 2.2.0.
Yup. That is exactly the problem. Thanks for that, and thanks to Derek for the
fix, which seems to have sorted that particular problem (onwards and upwards!).

Quote:

Also notice that Derek was kind enough to mention what OS and compiler he was using.
Sorry about that, I will go and put it in my signature now.

Bruce Fountain
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD compilation problem: EPROTO undeclared rodrigc Bug Reports 1 02-22-2003 07:53 PM
`LIST_SEPARATOR_CHAR' undeclared error dthomson Bug Reports 3 02-19-2003 11:37 PM


All times are GMT -4. The time now is 10:59 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.