On Wed, Apr 27, 2011 at 10:54:37PM +0200, Mikael Morin wrote: > On Wednesday 27 April 2011 01:06:26 Steve Kargl wrote: > > > > It's an 'if -- else if' construct. If gfc_notify_std == FAILURE, then > > the error message is issues and the function returns. If it is TRUE, > > then there should be no messages and else if() is tested. > My concern is that gfc_notify_std seems to return SUCCESS on warnings (I > can't > test right now as make has decided to rebuild the whole middle-end :-(). > Then, > I expect double warnings with -pedantic -Wreal-q-constant as -pedantic is a > (the only one ?) case outputing warnings for GNU extensions. > > Mikael
laptop:kargl[220] gfc4x -pedantic -Wreal-q-constant -o z ui.f90 ui.f90:3.12: q = 1.23q45 1 Warning: Extension: exponent-letter 'q' in real-literal-constant at (1) laptop:kargl[221] gfc4x -pedantic -o z ui.f90 ui.f90:3.12: q = 1.23q45 1 Warning: Extension: exponent-letter 'q' in real-literal-constant at (1) laptop:kargl[222] gfc4x -Wreal-q-constant -o z ui.f90 ui.f90:3.12: q = 1.23q45 1 Warning: Extension: exponent-letter 'q' in real-literal-constant at (1) PS: People should not use -pedantic, anyway. It doesn't do what people think it does. -- Steve