entation on asm extension
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pi3orama at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43319
--- Comment #5 from pi3orama at gmail dot com 2009-11-26 03:31 ---
How about the below C++ program? According to recent draft, the func() in //2:
is clearly "internal linkage", but g++ resolve it as external linkage.
static void func() { }
int main()
{
extern
or warning.
--
Summary: g++ violate [class.qual]
Product: gcc
Version: 4.3.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pi3oram
RMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pi3orama at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42063
--- Comment #2 from pi3orama at gmail dot com 2009-11-13 10:10 ---
This is an example in C++ language standard. The version is N2960. It said (at
page 47, [basic.lookup.argdep]/3):
Let X be the lookup set produced by unqualified lookup (3.4.1) and let Y be the
lookup set produced by
).
--
Summary: g++ violate [basic.lookup.argdep]
Product: gcc
Version: 4.3.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pi3orama at gmail dot com
http
nu dot org
ReportedBy: pi3orama at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41965
--- Comment #5 from pi3orama at gmail dot com 2009-11-06 06:58 ---
still not solved at 4.3.4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31952
--- Comment #5 from pi3orama at gmail dot com 2009-11-06 04:40 ---
I find a clause in the standard:
[basic.lookup.argdep]:
Any namespace-scope friend functions or friend function templates declared in
associated classes are visible within their respective namespaces even if they
are
--- Comment #3 from pi3orama at gmail dot com 2009-11-06 04:09 ---
Then why
#define TYPE N::B
works?
why argument dependent lookup doesn't take effect? Both B and func are in
namespace N.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41960
--- Comment #1 from pi3orama at gmail dot com 2009-11-06 03:52 ---
following is my g++ -v:
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.4
Product: gcc
Version: 4.3.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pi3orama at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41960
12 matches
Mail list logo