gfortran warnings about unused dummy argument

2009-02-05 Thread Julian Cummings
I am using gcc 4.3.2 on a Linux x86_64 system, compiling *.f and *.f90 source code files with gfortran and using the -Wall option. I am getting several warnings about unused dummy arguments in my code. The warnings are valid, but I would like to suppress them because they are non-trivial to corre

RE: Problem with use of anonymous types

2005-05-06 Thread Julian Cummings
ge- > From: Andrew Pinski [mailto:[EMAIL PROTECTED] > Sent: Friday, May 06, 2005 5:09 PM > To: Julian Cummings > Cc: gcc-bugs@gcc.gnu.org > Subject: Re: Problem with use of anonymous types > > > On May 6, 2005, at 8:09 PM, Julian Cummings wrote: > > > Pe

Problem with use of anonymous types

2005-05-06 Thread Julian Cummings
People are reporting trouble compiling blitz with gcc-4.0.0, and the compiler errors are resulting from the use of unnamed enums. A simple code illustrates the problem: struct nullType {}; template inline T operator+(const T& a, nullType) { return a; } enum named { namedA = 1, namedB = 2 }