Re: Fwd: Invalid use of 'static' in linkage specification

[email protected] (Alberto Simões)
Newsgroups perl.xs
Organization Departamento de Informática - Universi dade do Minho
Message-ID <[email protected]>
Hello

That issue got fixed in my case without doing anything interesting :S

Sorry for not being able to help :(

On 23/02/12 06:26, David Oswald wrote:
> Alberto (or anyone else):
>
> Have you made any progress on this issue?  I'm seeing the same problem
> in a couple of smoke test failures on Inline::CPP v0.34_002 dev.
>
> Here's an example:
>
> http://www.cpantesters.org/cpan/report/35702916-59fc-11e1-8417-42773f40e7b5
>
> I look at the .c output from Inline::CPP (take the t/01basic.t test, for
> example) and see one clue.  The segment:
>
> #ifdef __cplusplus
> extern "C"
> #endif
>
>
> I'm thinking that one resolution might be to use the newer syntax:
>
> #ifdef __cplusplus
> extern "C" {    // Note the new block.
> #endif
>
> /* fast forward to the bottom of the file */
>
> #ifdef __cplusplus
> }               // Close the block.
> #endif
>
> ...that's only a hunch; I can't grasp how get ExtUtils::ParseXS to do
> that for me, so I haven't been able to try it out.
>
> At any rate, same error message you're getting, so that at least helps
> me to realize I should be looking outside of Inline::CPP and Inline::C
> for an answer.
>
> Dave
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.