[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::decc_bugs

Title:DEC C Problem Reporting Forum
Notice:Report DEC C++ problems in TURRIS::C_PLUS_PLUS
Moderator:CXXC::REPETETCHEON
Created:Fri Nov 13 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1299
Total number of notes:6249

1278.0. "Alpha C bug w V5.5-003" by SWETSC::EKLUND (On a clear day you can see forever) Wed Mar 19 1997 06:48

    Hi,
    
    We have a weird problem here. 
    
    The code found at SWETSC::CBUG.BCK behaves strange if compiled and 
    run /debug vs a NOdebug exe. 
    
    AGNE> cc/versi /noobj nl:
    DEC C V5.5-003 on OpenVMS Alpha V6.2
    
    It runs OK on VAX. 
    
    Inside the save set there is a BUILD_NAVIGATE.COM, @:it with P1 =
    ALPHA. Then type NAV. The .COM produces a .DEB which is the debug 
    exe version.
    
    Please take a look and let us know.
    
    regards
    Johan
T.RTitleUserPersonal
Name
DateLines
1278.2TLE::D_SMITHDuane Smith -- DEC C RTLWed Mar 19 1997 07:4911
    This is indeed strange.  The result is that calling the CLI routines
    with the address of a CLD table results in an unrecognized table.
    
    Inserting any printf call in the main program such as 
    
       printf("Starting...\n");
    
    makes the problem go away.  I've tried all sorts of combinations, to no
    avail...
    
    Duane
1278.3SPECXN::DERAMODan D'EramoWed Mar 19 1997 12:4512
        Change
        
                for (i = start; i <= end; i++) prompt[i-start] = command[i];
                strcat(&prompt[i-start],"> ");
        
        to
        
                for (i = start; i <= end; i++) prompt[i-start] = command[i];
        	prompt[i-start] = '\0';
                strcat(&prompt[i-start],"> ");
        
        Dan
1278.4Great, thanx a lot /JohanSWETSC::EKLUNDOn a clear day you can see foreverThu Mar 20 1997 02:371