| Subject: | warning on truncation |
|---|---|
| From: | "alefor" |
| Date: | 24 Jul 2006 06:54:40 -0700 |
| Newsgroups: | gnu.gcc.help |
Hi,
How to get a warning on
bool b = 0.2 ;
with gcc ?
gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
I've try with -Wall and -Wextra.
Visual C++ message:
warning C4305: 'initializing' : truncation from 'double' to 'bool'
Thanks
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | How to do cycle-profiling of ARM11 code using gprof?, yogini |
|---|---|
| Next by Date: | Re: Use --enable-stdcall-fixup to disable these warnings, Daniel C. Bastos |
| Previous by Thread: | How to do cycle-profiling of ARM11 code using gprof?, yogini |
| Next by Thread: | Re: Use --enable-stdcall-fixup to disable these warnings, Daniel C. Bastos |
| Indexes: | [Date] [Thread] [Top] [All Lists] |