This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Doubt


Hi ,
i am using GCC-3.4.2 g++ compiler , but i found that it will not
generate any warning or error message on conversion from int to bool ,
is it posible to generate a some form of warning when ever their is a
type conversion from int to bool or vice - versa.
However the same will works fine with  the microsoft compiler.


Regards,
Deepak Kashyap



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]