#1646: Failure due to missing external definition of inlined function
Parrot_str_rep_compatible
----------------------+-----------------------------------------------------
Reporter: doughera | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: none | Version: 2.3.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
----------------------+-----------------------------------------------------
Using Sun's compiler on Linux, with r46743, the build fails with the
following error message:
{{{
/dev/shm/parrot/blib/lib/libparrot.so: undefined reference to
`Parrot_str_rep_compatible'
}}}
The problem is that src/string/api.c defines Parrot_str_rep_compatible as
"inline static", but the function is also referred to in
/src/pmc/stringbuilder.pmc.
For the inlined function to be available for external linking, it should
be declared as "extern inline." (This is assuming that this particular
function should be inline.)
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1646>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets