Re: Pb on gcc : no warning on information lost.

2014-04-14 Thread Yves Mocquard
Thank you for your response. Yves Mocquard. Le 14/04/2014 11:15, Marc Glisse a écrit : (wrong list, you want gcc-h...@gcc.gnu.org) On Mon, 14 Apr 2014, Yves Mocquard wrote: When I use gcc or g++ , I like when the compilator detects bug, with a an error of compliation or a warning. see this

Re: Pb on gcc : no warning on information lost.

2014-04-14 Thread Prathamesh Kulkarni
On Mon, Apr 14, 2014 at 2:41 PM, Yves Mocquard wrote: > Hello ! > I am French, sorry for my bad english. > > When I use gcc or g++ , I like when the compilator detects bug, with a an > error of compliation or a warning. > > see this code : > > long long fct() > { > return 0x123456789; > } > in

Re: Pb on gcc : no warning on information lost.

2014-04-14 Thread Marc Glisse
(wrong list, you want gcc-h...@gcc.gnu.org) On Mon, 14 Apr 2014, Yves Mocquard wrote: When I use gcc or g++ , I like when the compilator detects bug, with a an error of compliation or a warning. see this code : long long fct() { return 0x123456789; } int main() { int a = fct(); cerr