Title: | SQL notes |
Moderator: | NOVA::SMITHI |
Created: | Wed Aug 27 1986 |
Last Modified: | Thu Jun 05 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3895 |
Total number of notes: | 17726 |
How can i use the include_directory option of c compiler with the pre-compiler ? My goal is to remove the directory specification from the sc code. EXEC SQL INCLUDE OBJECT instead EXEC SQL INCLUDE dir:OBJECT Louis
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3860.1 | No idea ? | CHSR36::LCONS | Thu Feb 06 1997 03:58 | 4 | |
with cc i can specify /INCLUDE_DIRECTORY. What can i do with sqlpre/cc ? Louis | |||||
3860.2 | ORAREP::HERON::GODFRIND | Oracle Rdb Engineering | Fri Feb 07 1997 06:07 | 18 | |
>with cc i can specify /INCLUDE_DIRECTORY. >What can i do with sqlpre/cc ? From what I can see, "EXEC SQL INCLUDE file" is not part of the ISO standard (but then again I may be misreading the standard). So I guess we are pretty much free to implement it any which way we like ... That said, the precompiler does not consider the compiler-specific ways of handling the location of include files. My suggestions: - replace all EXEC SQL INCLUDE specifications with #includes and run the source through the C pre-processor first, or - use an explicit logical name also in the #includes /albert |