• Scope of #pragma
    If I declare: #pragma optimize(0) void func1(void) ... void func2(void) ... void func3(void) ... Does this apply only for func1 or for all subsequent functions (i.e. func2,func3,etc)?...
  • pragma error
    When I try to compile (even a simple hello world program) I get the error message: "parsing invoke-/#pragma-line unknown control" Could anyone tell me why? Greetings, Chris van Diemen
  • #pragma iv
    Hello: I have a project where I use #pragma iv(0x600), with Silabs processor 8051F385. This processor indicates that interrupt 8 at 0x43 is "special" and when generating HEX file, the address is...
  • pragma error
    --- pragmac.h --- #pragma debug code objectextend optimize(6,speed) rom(large) compiling TUNING.C... ..\PRAGMAC.H(3): error C252: misplaced primary control, line ignored I'm getting this error...
  • #pragma bytealign
    I have defined a #pragma bytealign in my code after a #pragma pack(1), in order to use structure pointers then I have defined a #pragma pack() to cancel the effect of the first pack(1) after the definition...