User forums > General (but related to Code::Blocks)
DMD compiler problems... -Wall option?
Silverling:
I began by starting a OpenGL application with DMD as the compiler, but the code was C, so I deleted the project and started a "empty project" and selected DMD. The I created a new file, pasted all the code from the example at digital mars and tried to compile. The errors then appeared. By the way, the -Wall option is nowhere to be found. If it does exist, send me a screenshot (lol, looks like I'm daring you :P).
MortenMacFly:
--- Quote from: Silverling on November 22, 2006, 11:28:17 pm ---By the way, the -Wall option is nowhere to be found. If it does exist, send me a screenshot (lol, looks like I'm daring you :P).
--- End quote ---
What do you mean? So it's still in your project? If so, please strip down your project and attach (zipped) to another post into this thread. Then I can tell you where this option get's set.
...if you mean something else: Please give me a detailed step-by-step instruction how to reproduce. From what I see the "-Wall" option for a "D" project only get's set, if you choose the gdc compiler (GNU D compiler) and *not* DMD (Digital Mars D compiler). For the first choice this should be correct, as the GNU compiler does indeed offer the -Wall option... AFAIK.
With regards, Morten.
Silverling:
Here is my project. Altered mind you. I opened the project file with WordPad and removed the compiler option -Wall (it was between <compiler> and </compiler> something addOption="-Wall").
[attachment deleted by admin]
Silverling:
On the new project Dialog I choose the DMD compiler (and I also configure the compiler on the compilers&debuggers config box). Uppon starting a new project and attempting to compile,the -Wall option pops.
Oh well. Any clues of when will these DMD problems be fixed? The linker doesn't work either, as I said before.
MortenMacFly:
Ok - opening your original project file (renamed *.save to *.cbp) I found where the switch is placed - in the project's compiler #define section (see image attached).
Now I'm not sure how it got there because it usually should be under "Other options" but again: There is *never-ever* a need to modify the project file manually. Everything from the project file you can adjust somewhere.
So it seems as if I have to install a D compiler, right? I don't remember who did the "D" wizard but I still believe that in case of the "DMD" this option should not be automatically created... anyway - I'll try.
With regards, Morten.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version