User forums > General (but related to Code::Blocks)

DMD compiler problems... -Wall option?

<< < (4/6) > >>

Silverling:
All problems seem to have been solved. A few bugs however I want to point out. I choose DMD as the default compiler,but he ignored me :shock:. No big deal, I simply choose the one appropriate when creating a new project. Now,when I add a file, I have to specifically change it's extension from the default c/c++ to .d He should assume the extension from the compiler...

killerbot:

--- Quote from: Silverling on November 23, 2006, 05:18:47 pm ---All problems seem to have been solved. A few bugs however I want to point out. I choose DMD as the default compiler,but he ignored me :shock:. No big deal, I simply choose the one appropriate when creating a new project. Now,when I add a file, I have to specifically change it's extension from the default c/c++ to .d He should assume the extension from the compiler...

--- End quote ---
this is very valuable feedback. Please create for each a bug report at berlios, and specify a detailed "how to reproduce".
Many thanks

MortenMacFly:

--- Quote from: killerbot on November 23, 2006, 05:18:09 pm ---the project wizard script should be checked, probably add this options in too many cases --> probably only valid for gnu ?

--- End quote ---
The reason is simple: There is a common function that handles setting the "enable warnings". It's function is basically "If MSVC -> (Set For MSVC) Otherwise FallBack to GNU (GCC) default".
This works in more cases than e.g. "If MSVC -> (Set For MSVC) Else If GNU (GCC) -> Do "-Wall" Otherwise FallBack to nothing."
With regards, Morten.

killerbot:
I suggest we enhance it for our build in compilers, we already know now it's not ok for Borland and Dmd

MortenMacFly:

--- Quote from: killerbot on November 23, 2006, 09:43:41 pm ---I suggest we enhance it for our build in compilers, [...]

--- End quote ---
I'm not quite sure what that means (you mean the new compiler framework, right?) but yes... why not. ;-)
With regards, Morten.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version