Steve,

Well, I don't see error messages, either.  But then, my compile was
successful<grin />.  

Does the compile listing show anything from string?  That would at
least show that the compiler found the #include file.  My compile
listing shows a couple of #include files named string:
QSYSINC/h(string), QSYSINC/STD(string), QSYSINC/t(string).

Terry.


At 10:00 2004-08-09 -0400, Steve Richter wrote:
>thanks Terry.  I still dont see the error messages.
>
>What is nuts about this is that the following code compiles when I comment
>out the "#include <string>" statement.
>
>But it is not just using the STL string class.  If I intentionally add a
>stmt that will make the compile fail, the error is not listed ( or in the
>joblog ).
>
>  800 - CRTCPPMOD MODULE(*CURLIB/MAP0004) SRCFILE(FAXMAIL/MAPSRC)
> SRCMBR(*MODULE) OUTPUT(*print) OPTION(*FULL *NOLOGMSG) DBGVIEW(*ALL)
>
>#include <stdio.h>
>#include <errno.h>
>#include <vector>
>#include <list>
>#include <string>
>
>// ------------------ EntryProc ----------------
>void EntryProc( )
> {
> return ;
> }
>
>// ------------------- Dummy2 ------------------
>void Dummy2( unsigned char* pBytes )
> {
>   short  nLx ;
>   nLx = 5 ;
> }
>
>-----Original Message-----
>From: c400-l-bounces@xxxxxxxxxxxx [mailto:c400-l-bounces@xxxxxxxxxxxx]On
>Behalf Of Terrence Enger
>Sent: Monday, August 09, 2004 9:25 AM
>To: C programming iSeries / AS400
>Subject: Re: [C400-L] compile listing does not show errors
>
>
>Steve,
>
>I think that you want OPTION(*NOLOGMSG) to make diagnostics go to the
>compile listing rather than the joblog.
>
>Terry.
>Available for contract programming.
>
>
>At 09:02 2004-08-09 -0400, you wrote:
>>I am getting a compile error.  The job log says to check the compile
>>listing. The compile listing is simply a 2 page stub.   How do I get the
>c++
>>compiler to print the full compile listing and show the error messages?
>>
>>here is my CRTCPPMOD command:
>>
>> CRTCPPMOD  MODULE(*CURLIB/&SRCMBR) +
>>              SRCFILE(%SST(&SRCFILE 11 +
>>              10)/%SST(&SRCFILE 1 10)) SRCMBR(*MODULE) +
>>              OUTPUT(*print) OPTION(*FULL) DBGVIEW(*ALL)
>>
>>thanks,
>>
>>-Steve
>>
>>
>>_______________________________________________
>>This is the C programming iSeries / AS400 (C400-L) mailing list
>>To post a message email: C400-L@xxxxxxxxxxxx
>>To subscribe, unsubscribe, or change list options,
>>visit: http://lists.midrange.com/mailman/listinfo/c400-l
>>or email: C400-L-request@xxxxxxxxxxxx
>>Before posting, please take a moment to review the archives
>>at http://archive.midrange.com/c400-l.
>>
>>
>>
>
>_______________________________________________
>This is the C programming iSeries / AS400 (C400-L) mailing list
>To post a message email: C400-L@xxxxxxxxxxxx
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/mailman/listinfo/c400-l
>or email: C400-L-request@xxxxxxxxxxxx
>Before posting, please take a moment to review the archives
>at http://archive.midrange.com/c400-l.
>
>
>_______________________________________________
>This is the C programming iSeries / AS400 (C400-L) mailing list
>To post a message email: C400-L@xxxxxxxxxxxx
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/mailman/listinfo/c400-l
>or email: C400-L-request@xxxxxxxxxxxx
>Before posting, please take a moment to review the archives
>at http://archive.midrange.com/c400-l.
>
>
>


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact [javascript protected email address].