C++ why would a static function be flagged as duplicate at the linking level?

I have output where llvm complains of a duplicate function, in only _one_ file (which should be a compile time error).

When I examine the file with nm, there is indeed only 1 declaration as 'T' --

I have the feeling this is related to an undefined virtual function, as the code is generated from a c++ template.

The imported project hails from the day of the gcc tool chain for xcode.

Any suggestions are welcome.

2 comments

Simply, the file apparently was duplicated in the compile list, but error was terribly opaque for the cause.

0

Unfortunatelly, we don't control compiler's output; though we'll probably add some output analysis to show possible problem causes.

0

Please sign in to leave a comment.