Alexandru Mosoi wrote in message... > supposing that I have the following lines: > > long long a = 12345678901234567890LL; > int b = a; > > how can I make g++ (4.1.2) issue an warning because of loss of > precision? >
Use -ansi -pedantic. -- Bob R POVrookie _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus