Title: | ACMSxp product questions and comments |
Notice: | Refer to notes 1 through 11 for conference information |
Moderator: | DUCAT::ROSCOE |
Created: | Tue Oct 05 1993 |
Last Modified: | Thu Jun 05 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 282 |
Total number of notes: | 1134 |
I've found invalid pragma directive in the C header file. What is this? Can I ignore these lines? #pragma stdl 0 "(null)" Hiroaki /* File: prTG.h Cmd : stdl -X -T single -c -n prototypes prTG.stdl */ #pragma stdl 0 "(null)" #ifndef PRTG_H #pragma stdl 0 "(null)" #define PRTG_H #ifdef __cplusplus extern "C" { #endif #ifndef TPS_STDCALL_def #define TPS_STDCALL_def #ifdef _WIN32 #define TPS_STDCALL __stdcall #else #define TPS_STDCALL #endif #endif #ifndef TKHARAI_PRT_def #define TKHARAI_PRT_def #define tkharai_prt (tps_prtg_epv_c.TKHARAI_PRT) #else #undef tkharai_prt #endif #define prtg tps_prtg_epv_c #define tps_calltask( ttask, taskgroup_name)(taskgroup_name.ttask) typedef struct { void (TPS_STDCALL *TKHARAI_PRT)( struct rec_lst_buppin2 *arg1, struct rec_busyo *arg2, struct rec_date *arg3 ) ; } tps_prtg_epv_t; #ifdef VAXC globalref #else extern #endif tps_prtg_epv_t tps_prtg_epv_c ; #ifdef __cplusplus } #endif /* End Customer Written Client Hdr for prtg */ #endif ! ! File: prTG.stdl ! #CINCLUDE "Record" Task group prTG Uuid "d30bfb7a-991c-11d0-9e2b-08002b3c1af8" ; Version 1.0 ; Task tkharai_prt USING rec_lst_buppin2 passed as INPUT , rec_busyo passed as INPUT , rec_date passed as INPUT ; End task group ; ! ! File: Record.stdl ! TYPE rec_lst_buppin2 RECORD buppin_array_num INTEGER ; buppin_array ARRAY SIZE 0 TO 20 DEPENDING ON buppin_array_num OF RECORD buppin_code TEXT SIZE 4 ; buppin_num INTEGER ; END RECORD ; END RECORD ; TYPE rec_busyo RECORD busyo_code TEXT SIZE 4 ; END RECORD ; TYPE rec_date RECORD date TEXT SIZE 8 ; END RECORD ;
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
264.1 | unable to reproduce | CAMINO::BRAITHWAITE | Mon Mar 17 1997 16:42 | 12 | |
Hiroaki-san, I have not been able to reproduce the problem you are seeing. The #pragma ... statements should only be generated if the STDL -g option is set. I'm not sure why the #pragma statements are occurring in the header file. If they are not causing any problems, ignore them. For debugging STDL source code, the #pragma statements are generated in the task code on NT instead of #line statements. /sharon | |||||
264.2 | Being tracked internally as QAR 997 - thanks for reporting this problem - Rich | DUCAT::ROSCOE | Thu Apr 17 1997 11:29 | 3 | |
We believe we now understand how to reproduce this problem. The problem appear to occur when you compile multiple STDL files on the same command line. The workaround is to compile the files separately. |