[Bug c++/21280] [4.0/4.1 Regression] #pragma interface, templates, and "inline function used but never defined"
nathan at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jun 2 17:51:00 GMT 2005
------- Additional Comments From nathan at gcc dot gnu dot org 2005-06-02 17:51 -------
2005-06-02 Nathan Sidwell <nathan@codesourcery.com>
PR c++/21280
* Make-lang.in (method.o): Add diagnostic.h
* decl.c (start_preparsed_function): Use decl's location for file
info.
* decl2.c (cp_finish_file): Set input_location before synthesizing
a function.
(mark_used): When deferring a synthesized function, save current
location. Do not set function's location when actually
synthesizing it.
* method.c: #include diagnostic.h.
(synthesize_method): Set the functions source location. Show
needed location if errors are emitted.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21280
More information about the Gcc-bugs
mailing list