[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
| Title: | DCE Product Information | 
| Notice: | Kit Info - See 2.*-4.* | 
| Moderator: | TUXEDO::MAZZAFERRO | 
|  | 
| Created: | Fri Jun 26 1992 | 
| Last Modified: | Fri Jun 06 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 2269 | 
| Total number of notes: | 10003 | 
2232.0. "Oracle C preprocessor not handling idlbase.h" by CAMINO::MCDERMOTT () Fri Apr 25 1997 15:26
    Hi,
    
    While running the Oracle C preprocessor on a file that contains
    some dce headers, the Oracle C preprocessor encountered the
    following error.  My environment is Digital Unix 4.0b,
    DCE 2.0a and Oracle 7.3.2.
    
    
proc ireclen=132 oreclen=132 select_error=no release_cursor=yes
include=/oracle/std/twrk  define=PTHREAD_USE_D4 include=/usr/opt/ACM
SXP_V4_V300/include iname=/oracle/std/std_sql.sc
Pro*C/C++: Release 2.2.2.0.0 - Production on Fri Apr 25 14:48:52 1997
Copyright (c) Oracle Corporation 1979, 1994.  All rights reserved.
System default option values taken from:
/oracle/home/oracle/product/app/oracle/product/7.3.2/precomp/admin/pcscfg.h
Syntax error at line 553, column 9, file /usr/include/dce/idlbase.h:
 #error \
........1
(1) PCC-S-02014, Encountered the symbol "\" when expecting one of the following:
   ; { } , = : ( ) [ ] * ? | & < > + - / % ~ ! . # @ ^ *= /= %=
   += -= <<= >>= &&= ||= ^= ~= := | & == != <= >= etc.
    
    To get around this error I removed the "\" and place the next line in
    the file on the same line as the "#error" line.  I guess the Oracle C 
    preprocessor doesn't handle continuation characters.
                                                  
    thanks
    
    
    
    
| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 2232.1 | Ultrix? | PTHRED::VIVENEY | Bob Viveney | Fri Apr 25 1997 16:12 | 5 | 
|  | Doesn't your file have a  ...
#if defined(ultrix) && defined(vax) && !defined(vaxc)
preceding the line in question?
 | 
| 2232.2 | different compiler? | TUXEDO::CHUBB |  | Mon Apr 28 1997 14:41 | 8 | 
|  |     > Pro*C/C++: Release 2.2.2.0.0 - Production on Fri Apr 25 14:48:52 1997
    
    Also, we didn't test using anything other than the stock DEC C++
    compiler.  If this is a third-party C++ you may run into problems.  We
    also require that you compile and link with -threads when using C++ and
    DCE.
    
    -- brandon
 |