Quick Search:

Show this changeset in changelog Changeset Detail

MAIN:plunky:20111110091830 created by plunky on 10 November 2011, 10:18:30 +0100 (2 years 10 months ago) (patch) make this test pass, by explicitly specifying extern and static

the rationale being, that for inline functions:

static means that the function as listed is always
used for this translation unit, and no external
reference is created

extern means that an externally callable reference
is created and the function is always used for this
translation unit

neither means that the function *may* be used as
presented in this translation unit. This means for
pcc that if -xinline is given, it will be used and
otherwise not.

So, without either extern or static specified, there
would need to be a linked libc version available
(which there is not, for "foo")
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-30 13:50 +0200