This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/7059: cannot assign a static string member of class
- From: mike_mian at yahoo dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 17 Jun 2002 18:45:37 -0000
- Subject: c++/7059: cannot assign a static string member of class
- Reply-to: mike_mian at yahoo dot com
>Number: 7059
>Category: c++
>Synopsis: cannot assign a static string member of class
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Mon Jun 17 11:46:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: mike_mian@yahoo.com
>Release: gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
>Organization:
>Environment:
solaris
>Description:
/var/tmp/ccSwJ0jF.o: In function `main':
/var/tmp/ccSwJ0jF.o(.text+0x2c): undefined reference to `myobj::s'
/var/tmp/ccSwJ0jF.o(.text+0x30): undefined reference to `myobj::s'
collect2: ld returned 1 exit status
>How-To-Repeat:
g++ bug.cpp
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="bug.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.cpp"
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgoKY2xhc3MgbXlvYmogewoJcHVi
bGljOgoJc3RhdGljIHN0cmluZyBzOwp9Owp2b2lkIG1haW4gKCkgewoJc3RyaW5nIHQ7CgoJdCA9
ICJvayI7CglteW9iajo6cyA9ICJidWciOwp9Cg==