Greg> Isn't there a gcc flag to convince it to give an error in Greg> this case? If so, adding it to the OpenIB makefile would be Greg> a good idea.
gcc 3.4 added -Wdeclaration-after-statement. However, older gcc versions don't accept the option. In fact gcc 2.95 doesn't accept declarations after statements. In any case it takes at least a little autoconf magic to add the flag only if the compiler being used accepts it. - R. _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general