Jump to page: 1 2
Thread overview
using that much pragma disables in dmd msc build?
Jun 04, 2013
dennis luehring
Jun 04, 2013
Walter Bright
Jun 04, 2013
Jonathan M Davis
Jun 04, 2013
Paulo Pinto
Jun 05, 2013
dennis luehring
Jun 05, 2013
dennis luehring
Jun 05, 2013
Jonathan M Davis
Jun 05, 2013
Walter Bright
Jun 05, 2013
dennis luehring
Jun 05, 2013
Walter Bright
Jun 06, 2013
Rainer Schuetze
June 04, 2013
in dmd/src/vcbuild/warnings.h

is it realy a good idea to block the warning from popping up then to fix the stuff or are all warnings non fixables?



June 04, 2013
On 6/4/2013 2:16 AM, dennis luehring wrote:
> in dmd/src/vcbuild/warnings.h
>
> is it realy a good idea to block the warning from popping up then to fix the
> stuff or are all warnings non fixables?


Not all VC warnings are good ideas.
June 04, 2013
On Tuesday, June 04, 2013 10:52:56 Walter Bright wrote:
> On 6/4/2013 2:16 AM, dennis luehring wrote:
> > in dmd/src/vcbuild/warnings.h
> > 
> > is it realy a good idea to block the warning from popping up then to fix the stuff or are all warnings non fixables?
> 
> Not all VC warnings are good ideas.

That would be an understatement.

- Jonathan M Davis
June 04, 2013
Am 04.06.2013 20:00, schrieb Jonathan M Davis:
> On Tuesday, June 04, 2013 10:52:56 Walter Bright wrote:
>> On 6/4/2013 2:16 AM, dennis luehring wrote:
>>> in dmd/src/vcbuild/warnings.h
>>>
>>> is it realy a good idea to block the warning from popping up then to fix
>>> the stuff or are all warnings non fixables?
>>
>> Not all VC warnings are good ideas.
>
> That would be an understatement.
>
> - Jonathan M Davis
>

Specially the ones about non standard POSIX calls, but widely accepted
functions, with suggestions for Microsoft own extensions.

June 05, 2013
Am 04.06.2013 19:52, schrieb Walter Bright:
> On 6/4/2013 2:16 AM, dennis luehring wrote:
>> in dmd/src/vcbuild/warnings.h
>>
>> is it realy a good idea to block the warning from popping up then to fix the
>> stuff or are all warnings non fixables?
>
>
> Not all VC warnings are good ideas.
>

examples?
June 05, 2013
Am 05.06.2013 07:14, schrieb dennis luehring:
> Am 04.06.2013 19:52, schrieb Walter Bright:
>> On 6/4/2013 2:16 AM, dennis luehring wrote:
>>> in dmd/src/vcbuild/warnings.h
>>>
>>> is it realy a good idea to block the warning from popping up then to fix the
>>> stuff or are all warnings non fixables?
>>
>>
>> Not all VC warnings are good ideas.
>>
>
> examples?
>

better asked: why global switch of the warnings, are all occurences just wrong?


June 05, 2013
On Wednesday, June 05, 2013 07:25:11 dennis luehring wrote:
> Am 05.06.2013 07:14, schrieb dennis luehring:
> > Am 04.06.2013 19:52, schrieb Walter Bright:
> >> On 6/4/2013 2:16 AM, dennis luehring wrote:
> >>> in dmd/src/vcbuild/warnings.h
> >>> 
> >>> is it realy a good idea to block the warning from popping up then to fix the stuff or are all warnings non fixables?
> >> 
> >> Not all VC warnings are good ideas.
> > 
> > examples?
> 
> better asked: why global switch of the warnings, are all occurences just wrong?

I don't know which warnings are disabled in the dmd build, but in my experience, Visual Studio has quite a few annoying and pointless warnings - warnings for things that are completely valid as far as the language is concerned and don't actually cause problems. For instance, it warns about pretty much all implicit conversions to bool, and IIRC, it then likes to warning about explictly casting to bool, forcing you to use a ternary operator for no good reason. In my experience, Visual Studio is _way_ overzealous about warnings.

- Jonathan M Davis
June 05, 2013
On 6/4/2013 10:25 PM, dennis luehring wrote:
> Am 05.06.2013 07:14, schrieb dennis luehring:
>> Am 04.06.2013 19:52, schrieb Walter Bright:
>>> On 6/4/2013 2:16 AM, dennis luehring wrote:
>>>> in dmd/src/vcbuild/warnings.h
>>>>
>>>> is it realy a good idea to block the warning from popping up then to fix the
>>>> stuff or are all warnings non fixables?
>>>
>>>
>>> Not all VC warnings are good ideas.
>>>
>>
>> examples?
>>
>
> better asked: why global switch of the warnings, are all occurences just wrong?
>
>

The file was written by Rainer Schuetze and Mark Mohr. I don't know the specifics, except that none of them in warnings.h found real errors, and frankly were far more annoying than useful when I tried VC++ on dmd with all warnings on.
June 05, 2013
Am 05.06.2013 08:04, schrieb Walter Bright:
> On 6/4/2013 10:25 PM, dennis luehring wrote:
>> Am 05.06.2013 07:14, schrieb dennis luehring:
>>> Am 04.06.2013 19:52, schrieb Walter Bright:
>>>> On 6/4/2013 2:16 AM, dennis luehring wrote:
>>>>> in dmd/src/vcbuild/warnings.h
>>>>>
>>>>> is it realy a good idea to block the warning from popping up then to fix the
>>>>> stuff or are all warnings non fixables?
>>>>
>>>>
>>>> Not all VC warnings are good ideas.
>>>>
>>>
>>> examples?
>>>
>>
>> better asked: why global switch of the warnings, are all occurences just wrong?
>>
>>
>
> The file was written by Rainer Schuetze and Mark Mohr. I don't know the
> specifics, except that none of them in warnings.h found real errors, and frankly
> were far more annoying than useful when I tried VC++ on dmd with all warnings on.
>

i always try to keep my programs on VC++ warning level 4 (3 is default) and warning free - but im not developing compilers (maybe its different)

is -Wall on gcc more annoying with the dmd source or better then VC++?
June 05, 2013
On 6/5/2013 12:04 AM, dennis luehring wrote:
> is -Wall on gcc more annoying with the dmd source or better then VC++?

gcc generally has more sensible warnings.
« First   ‹ Prev
1 2