pragma

Where does the word "pragma" come from?

So I know what pragma is, and what it's used for, but what is the meaning of the word itself? I've used it many times in code, but I never really knew what the word actually means or stands for. ...

Pragma message in Clang?

What's Clang's equivalent to #pragma message as used in GCC and MSVC? ...

Flash/ActionScript - Navigating Long Scripts By Locking Selections (Collapse/Expand)?

if there's one thing i miss about native programming for Mac OS X using Objective-C and XCode, it's the ability to set #praga marks (essentially bookmarks) to easily navigate thru long scripts via the pull-down menu. in Flash Authoring CS5 i can can collapse/expand selections of code, but these are removed when the selection is removed ...

Adding a new #pragma

Hi, I am trying to add an extension to Openmp through a new pragma. I was wondering if there is any way I can define a new pragma and define a set of rules to generate the code. I was also wondering if there are any source-source compilers that allow me to specify a new pragma in openmp. Thanks in advance. ...

Can MSVC _penter and _pexit hooks be disabled on a per function basis ?

There are compiler options in MSVC to enable the automatic generation of instrumentation calls on entering and exiting functions. These hooks are called _penter() and _pexit(). The options to the compiler are: /Gh Enable _penter Hook Function /GH Enable _pexit Hook Function Is there a pragma or some sort of function ...

linking with a pragma with g++

In Visual C++, one may link to a library in the code itself by doing #pragma comment (lib, "libname.lib"). Is something similar possible in g++? ...

C++ #pragma pack

What does the following statement actually do and what are it's effects? #pragma pack(push,8) ...

How can I tell if the function's intrinsic version is used from the disassembly?

Im trying to optimize my exercise application in VS2010. Basically I have several sqrt, pow and memset in the core loop. More specifically, this is what I do: // in a cpp file ... #include <cmath> #pragma intrinsic(sqrt, pow, memset) void Simulator::calculate() { for( int i=0; i<NUM; i++ ) { ... float len = std::sqrt(lenSq...