[Bug c/39170] provide an option to silence -Wconversion warnings for bit-fields

2013-01-04 Thread tom at atoptech dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39170 --- Comment #12 from Tom Geocaris 2013-01-04 17:32:22 UTC --- Is there any resolution to this issue? We need to move to a more recent version of gcc, but are still stuck at gcc 4.2.4. I looked at gcc 4.7.2 but behavior is the same and I

[Bug c/39170] cannot silence -Wconversion warnings for bit-fields

2009-03-10 Thread tom at atoptech dot com
--- Comment #6 from tom at atoptech dot com 2009-03-10 20:34 --- Subject: Re: cannot silence -Wconversion warnings for bit-fields > AFAIK, that is not true. I just tried your very example with gcc 4.2.4 and it > doesn't warn with -Wall -Wextra -Wconversion. g++ d

[Bug c/39170] cannot silence -Wconversion warnings for bit-fields

2009-03-10 Thread tom at atoptech dot com
--- Comment #4 from tom at atoptech dot com 2009-03-10 17:40 --- Manuel, You miss understood what I meant by "old behavior was just fine". I was saying that the previous behavior of "gcc" worked fine and I was NOT referring specifically to the "-Wconversio

[Bug c/39170] -Wconversion useless

2009-02-12 Thread tom at atoptech dot com
--- Comment #2 from tom at atoptech dot com 2009-02-12 18:10 --- Subject: Re: -Wconversion useless You miss the point. The only way to assign a non-constant value to a bit field outside of a struct is using an integral variable i.e., struct foo { int a : 2; }; void assign

[Bug c++/39170] New: -Wconversion useless

2009-02-12 Thread tom at atoptech dot com
3.3 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tom at atoptech dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39170