pragmas in Visual C++ 2005 Express Ed

Can you please post/send me a complete listing of the compiler's pragma information I gathered from the online community what the meaning of pragma once was. I saw other pragma directives in the fstream header file and had questions about them:

#pragma pack(push,_CRT_PACKING)

#pragma warning(push,3)

#pragma warning(disable: 4127)

#pragma warning(push)

#pragma warning(disable: 6237 6239)

#pragma warning(pop)

#pragma warning(push)

#pragma warning(disable: 6240)

#pragma warning(pop)

and so on and so on. Please respond with a complete description of Microsoft's pragmas. Thanks

Ruben Odom



Answer this question

pragmas in Visual C++ 2005 Express Ed

  • Gary Wang

     Aron789 wrote:
    Can you please post/send me a complete listing of the compiler's pragma information I gathered from the online community what the meaning of pragma once was.  ...

    Please respond with a complete description of Microsoft's pragmas. Thanks

    Adding a little to Christian's response:

    In addition to what you can find on the Web, I think that VC++ Help | Index and 

    Look for: pragma

    will provide more than you can use. 

    Anticipating your next question, a

    Look for: error messages, build errors

    will get you started.

    As you'll see, there's too much to put in a Forum message.  There are ample resources for research the VC++ pragmas though.

     - Dennis



  • Brian5003

    http://www.google.com.au/search hl=en&q=pragma+site%3Amsdn.microsoft.com&meta=

    I can't imagine anyone is going to offer a better list than that :-)



  • pragmas in Visual C++ 2005 Express Ed