This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/4803: Inline function never defined
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/4803: Inline function never defined
- From: m dot duflot at ulg dot ac dot be
- Date: 6 Nov 2001 14:23:10 -0000
- Reply-To: m dot duflot at ulg dot ac dot be
>Number: 4803
>Category: c++
>Synopsis: Inline function never defined
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: accepts-illegal
>Submitter-Id: net
>Arrival-Date: Tue Nov 06 06:26:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Marc Duflot
>Release: 3.0
>Organization:
>Environment:
Linux
>Description:
g++ -c -Wall -ansi test.C
g++ accepts that a function that is declared inline is not defined in the current translation unit.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="test.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test.C"
aW5saW5lIGludCBmKCk7CmludCBnKCkge3JldHVybiBmKCk7fQo=