I removed the pragma lines and it works.

Anyway, if we read from Gcc doc here:
http://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Interface.html

We can know this:
`#pragma implementation' and `#pragma interface' also have an effect on 
function inlining.

If you define a class in a header file marked with `#pragma interface',
the effect on an inline function defined in that class is similar to an
explicit extern declaration—the compiler emits no code at all to define
an independent version of the function. Its definition is used only for
inlining with its callers. "

-O0 removes the semantics of inline, then it may be it's not generating
any implementation :m.

-- 
rebuild apt with noopt option fails
https://launchpad.net/bugs/63299

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to