------- Additional Comments From hjl dot tools at gmail dot com  2010-01-16 
01:06 -------
Here is a testcase:

[...@gnu-6 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";
}
[...@gnu-6 pr11175]$ gcc -S z.cc -fvisibility-inlines-hidden;
[...@gnu-6 pr11175]$ grep _ZN13LnkPropertiesD2Ev z.s | grep hidden
        .hidden _ZN13LnkPropertiesD2Ev
[...@gnu-6 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-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to