This is the mail archive of the gcc-bugs@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]

[Bug c++/15672] wierd error reported


------- Additional Comments From igodard at pacbell dot net  2004-05-27 20:45 -------
Well if the declaration of power16c declares a function then that explains the message. But why does the compiler think it is a function, when similar declarations for e.g. power16b are taken as a data definition? If it's ambiguous it should be an error not a warning? Or if the standard forces resolution to the function dec, how do I make it unambiguous? It sure looks like a data declaration (with constructor) whose constructor argument is itself a constructor, to me.

BTW, implicit "==0" is an invention of the devil :-(

Ivan

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15672


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