D and SCons

Ali Çehreli acehreli at yahoo.com
Sun Sep 9 08:05:13 PDT 2012


On 09/09/2012 07:27 AM, bearophile wrote:
 > Johannes Pfau:
 >
 >> Putting linker flags into source files is just not a good idea:
 >
 > Thank you for the explanation. Then maybe we should deprecate 
pragma(lib).
 >
 > Bye,
 > bearophile

Similar to pragmas in C and C++, D pragmas allow language extensions: 
"Pragmas are a way to pass special information to the compiler and to 
add vendor specific extensions to D."

   http://dlang.org/pragma.html

Ali



More information about the Digitalmars-d-learn mailing list