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

Conference microw::acmsxp

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

264.0. "Q: Invalid pragma directive (3.0 for WNT)" by TKOV60::OKAMURA (H.Okamura PS4-2/EJD3/NSIS, Japan) Mon Mar 17 1997 07:10

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.RTitleUserPersonal
Name
DateLines
264.1unable to reproduceCAMINO::BRAITHWAITEMon Mar 17 1997 16:4212
    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.2Being tracked internally as QAR 997 - thanks for reporting this problem - RichDUCAT::ROSCOEThu Apr 17 1997 11:293
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.