bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/16934] gc-sections fails to remove unused C++ member functions


From: curaga at operamail dot com
Subject: [Bug ld/16934] gc-sections fails to remove unused C++ member functions
Date: Mon, 12 May 2014 08:08:29 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=16934

--- Comment #2 from curaga at operamail dot com ---
lib.cpp:

#include <stdio.h>
#include "lib.h"

class myclass: public interface {

public:
    void foo() { puts("foo"); }
    void bar() { puts("bar"); }

};

interface *getclass() {
    return new myclass;
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]