- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: C++ and XML compile problems - could not open ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2003 09:15 AM
тАО08-19-2003 09:15 AM
set process/parse=extended/case_lookup=sensitive
CXX /INCLUDE_DIRECTORY=(SYS$LIBRARY:, SYS$DISK:[], XERCES-C$ROOT:[000000.SRC]) /
DEBUG/NOOPTIMIZE/assume=noheader/prefix_library=all/exception/template=local/WAR
NING=(DISABLE=(CASTQUALTYP,EXTRASEMI,LONGEXTERN,CODEUNREACHABLE,CODCAUUNR,INTSIG
NCHANGE,-
NOCORDEL,UNSCOMZER))/DEFINE=(DEBUG,_DEBUG,CIM_VMS,NDEBUG, __USE_STD_IOSTREAM=1,X
ERCES_TMPLSINC) TCPCEAPICPP.CPP
#include
.........................................................^
%CXX-E-SRCFILNOOPEN, could not open source file "limits.h"
at line number 23 in module limits. of text library SYS$COMMON:[SYSLIB]CXXL$ANSI
_DEF.TLB;2
Thanks, Steve
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2003 10:16 AM
тАО08-19-2003 10:16 AM
Re: C++ and XML compile problems - could not open source file
$ pipe lib/list sys$library:decc$rtldef.TLB | search sys$input limits
(limits.h should be part of the C headers if I am not confused)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2003 10:41 PM
тАО08-19-2003 10:41 PM
Re: C++ and XML compile problems - could not open source file
perhaps is same as
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5861c288900d194abffd6f0a5417c062,00.html
Bye
Antoniov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2003 05:11 AM
тАО08-20-2003 05:11 AM
Re: C++ and XML compile problems - could not open source file
Software Concepts International
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2003 06:37 AM
тАО08-20-2003 06:37 AM
Re: C++ and XML compile problems - could not open source file
there is also a limits C++ include. As it seems this does include the C header in turn (which sounds reasonable as the range of types should be the same in C and C++)
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 05:54 AM
тАО08-21-2003 05:54 AM
Re: C++ and XML compile problems - could not open source file
Thanks for your replies. I had looked at the /include problem thread, but looked at it again just in case. When I checked the system library as Martin suggested, there is an entry for limits.
After some more experimenting, here is what I think the problem is. I made a c++ file that essentially only has #includes for
So this leads me to wonder if there is a problem with having both the XML and the standard header files included in the same module. But the samples that are included with the XML kit build fine, and they include some of the standard headers. The XML kit is where I got all those switches for the compile, as well as the set process command.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 09:16 AM
тАО08-21-2003 09:16 AM
Re: C++ and XML compile problems - could not open source file
can you post your boiled-down example so we have something to experiment with?
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 10:49 AM
тАО08-21-2003 10:49 AM
Re: C++ and XML compile problems - could not open source file
#include
#include
#include
main(){}
I have attached (or attempted to) a .com file I made to compile with the switches that are used by the XML sample programs. Toggle between the first two lines to see the different behavior.
Thanks, Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 02:17 PM
тАО08-21-2003 02:17 PM
Re: C++ and XML compile problems - could not open source file
since you do have /case_lookup I assume you are at OpenVMS 7.3-1. The system I can test with right now is a 7.3. Set proc/parse=extended does compile your example fine. Do you really need the case sensitivity or is /case=blind an option? If you do need the cass sensitivity, how is your system disk formatted ODS-2 or ODS-5?
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 06:35 PM
тАО08-21-2003 06:35 PM
Re: C++ and XML compile problems - could not open source file
confirmed on 7.3-1 that /case=blind cures the
problem. If you need casesensitive you might need to extract the headers from the TLB and make sure they are found in all lower case on the disk (i.e. you need an ODS-5 Volume)
Greetings, Martin