python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
{$WARN DUPLICATE_CTOR_DTOR OFF} gets deleted from Dpk file
I need to turn off this compiler warning because I don't intend to make my library compatible with C++.
If I put the compiler directive in the PAS file that generates the warning, it is ignored.
Peopl...
Gabriel
Votes: 0
Answers: 2
Why only include header files (.h) but not the source file (.c) in the directives?
How does the compiler know which source file is the one I am including?
Does it work as long as the name of the header and source file are the same?
For example, the header file example.h refers to ex...
Captain Toad
Votes: 0
Answers: 1
Compiler says variables declared within compiler directive doesnt exist
Suppose I have this code (all in the same class):
#if CONDITION
private static readonly string firstName = "First Name";
#endif
string GetName(){
#if CONDITION
return firstN...
Daniel
Votes: 0
Answers: 0