Clang - Inline causes symbol not found
Clang - Inline causes symbol not found
- Subject: Clang - Inline causes symbol not found
- From: Brian Barnes <email@hidden>
- Date: Tue, 8 Sep 2009 18:48:54 -0400
I've recreated my 2nd of 3rd problem in clang. "inline" causes the
linker to not find symbols when compiled with clang (but works in gcc
4.0).
I know inline has gone through a number of different versions and
definitions. I basically use inline on the function body:
inline bool abc(int x)
And externs in a header:
extern bool abc(int x);
This cause errors in the linker.
[>] Brian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden