Re: Interesting warning I get

Tech-Archive recommends: Fix windows errors by optimizing your registry




"Giovanni Dicanio" <giovanni.dicanio@xxxxxxxxxx> ha scritto nel messaggio
news:%238Jxk$c2HHA.5740@xxxxxxxxxxxxxxxxxxxxxxx

"Victor Bazarov" <v.Abazarov@xxxxxxxxxxxx> ha scritto nel messaggio
news:f9cmr2$jjv$1@xxxxxxxxxxxxxxxxxx

If I compile it with VS 2005 SP1, with /W4, I get C4709. Well,
I don't see a comma operator inside my brackets. Do you? Could
somebody check with 2008? Thanks!

Neither warning nor error when compiled with VS 2003 SP1...

Sorry, I missed the Warning Level 4 thing...

C4709 issued with VS2003 SP1, too
?_?

G


.



Relevant Pages

  • Re: When are unnecessary casts useful?
    ... char* a; ... Note that my version of gcc hasn't warned on line 9; ... parentheses as an instruction to suppress the warning. ... Unfortunately not all compilers take the hint when you just add brackets -- some will continue to warn you. ...
    (comp.lang.c)
  • Re: rb_load_file crashes when there no bracket is provided
    ... Saravanan Sar wrote: ... Why do you need to remove brackets? ... This is basically a set of rules that our client will define. ... rb_load_file is crashing because of this warning message. ...
    (comp.lang.ruby)
  • Re: Compiler error with ifTrue:ifFalse: ?
    ... brackets for optimization. ... Yes you normally get the warning in the transcript but it usually works. ...
    (comp.lang.smalltalk.dolphin)
  • Re: Interesting warning I get
    ... bool foo = false; ... I don't see a comma operator inside my brackets. ... Neither warning nor error when compiled with VS 2003 SP1... ...
    (microsoft.public.vc.language)
  • Re: Switching with case in perl ?
    ... Not an error: a warning. ... The distinction is important. ... # use dot for concate instead comma operator ... The comma operator never concatenates... ...
    (comp.lang.perl.misc)