• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Clang - Inline causes symbol not found
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Macros in Info.plist for single-file tools
  • Next by Date: Re: Macros in Info.plist for single-file tools
  • Previous by thread: Re: Macros in Info.plist for single-file tools
  • Next by thread: VecLib.framework Code Samples
  • Index(es):
    • Date
    • Thread