Top "Macros" questions

***DO NOT USE for VBA / MS-Office languages.

C++what is the type of the __LINE__ macro

As you may see from my other questions many of you may already got the answer for this. Can you …

c++ visual-c++ macros logic
pasting "::" and "Foo" does not give a valid preprocessing token

I would like to attach MyNamespace:: to the function defined by the macro: #define transFunc(func) \ dimensionedScalar func(const dimensionedScalar&…

c++ macros preprocessor-directive
What's the easiest way to use reify (get an AST of) an expression in Scala?

I'm looking at alternatives to -print or javap as a way of figuring out what the compiler is doing in …

scala macros scala-2.10
Easy way to convert exec sp_executesql to a normal query?

When dealing with debugging queries using Profiler and SSMS, its pretty common for me to copy a query from Profiler …

sql-server macros format ssms sp-executesql
Preprocessor macro expansion to another preprocessor directive

Initially I thought I needed this, but I eventually avoided it. However, my curiosity (and appetite for knowledge, hum) make …

c++ macros c-preprocessor expansion preprocessor-directive
Sorry, we couldn't find Test.xlsm. Is it possible it was moved, renamed or deleted?

I am running a macro code from my C# application. I have placed the Test.xlsm file in the project …

c# macros clickonce xlsm
What is `%setup -q` in RPM spec?

If you create a .spec file with ViM, the editor will use a skeleton for it. Quite handy! It bugs …

macros rpm specifications
The use of double include guards in C++

So I recently had a discussion where I work, in which I was questioning the use of a double include …

c++ macros linker
How and When to Use @async and @sync in Julia

I have read the documentation for the @async and @sync macros but still cannot figure out how and when to …

asynchronous parallel-processing macros synchronization julia
Detecting Integer Constant Expressions in Macros

There was a discussion in the Linux kernel mailing list regarding a macro that tests whether its argument is an …

c linux-kernel macros language-lawyer