| Title: | DEC C Problem Reporting Forum | 
| Notice: | Report DEC C++ problems in TURRIS::C_PLUS_PLUS | 
| Moderator: | CXXC::REPETE TCHEON | 
| 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 | 
    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.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 1278.2 | TLE::D_SMITH | Duane Smith -- DEC C RTL | Wed Mar 19 1997 07:49 | 11 | |
|     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.3 | SPECXN::DERAMO | Dan D'Eramo | Wed Mar 19 1997 12:45 | 12 | |
|         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.4 | Great, thanx a lot /Johan | SWETSC::EKLUND | On a clear day you can see forever | Thu Mar 20 1997 02:37 | 1 |