[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/11175] ld marks destructor hidden global
From: |
hjl dot tools at gmail dot com |
Subject: |
[Bug ld/11175] ld marks destructor hidden global |
Date: |
16 Jan 2010 01:06:07 -0000 |
------- Additional Comments From hjl dot tools at gmail dot com 2010-01-16
01:06 -------
Here is a testcase:
address@hidden pr11175]$ cat z.cc
class QObject
{
public:
virtual ~QObject();
virtual const char *className() const;
};
class LnkProperties : public QObject
{
public:
const char *className() const;
};
const char *LnkProperties::className() const
{
return "LnkProperties";
}
address@hidden pr11175]$ gcc -S z.cc -fvisibility-inlines-hidden;
address@hidden pr11175]$ grep _ZN13LnkPropertiesD2Ev z.s | grep hidden
.hidden _ZN13LnkPropertiesD2Ev
address@hidden pr11175]$
You can't have a different declaration of class LnkProperties with user
defined:
LnkProperties::~LnkProperties()
{
}
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11175
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/11175] ld marks destructor hidden global, (continued)
- [Bug ld/11175] ld marks destructor hidden global, raj dot khem at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, hjl dot tools at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, hjl dot tools at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, hjl dot tools at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, raj dot khem at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, raj dot khem at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, hjl dot tools at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, raj dot khem at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, hjl dot tools at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global, raj dot khem at gmail dot com, 2010/01/15
- [Bug ld/11175] ld marks destructor hidden global,
hjl dot tools at gmail dot com <=
- [Bug ld/11175] ld marks destructor hidden global, raj dot khem at gmail dot com, 2010/01/19