#631: [RFC] Clean-up PMC generated files.
--------------------+-------------------------------------------------------
Reporter: bacek | Owner:
Type: RFC | Status: new
Priority: normal | Milestone:
Component: none | Version: 1.1.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
--------------------+-------------------------------------------------------
Comment(by Infinoid):
Looks like the tt631_part2 branch was merged back into trunk by bacek in
r38536. This causes warnings for me like the following:
{{{
./src/pmc/managedstruct.c: In function 'Parrot_ManagedStruct_get_vtable':
./src/pmc/managedstruct.c:1089: warning: implicit declaration of function
'Parrot_UnManagedStruct_update_vtable'
./src/pmc/managedstruct.c:1089: warning: nested extern declaration of
'Parrot_UnManagedStruct_update_vtable'
./src/pmc/managedstruct.c: In function
'Parrot_ManagedStruct_ro_get_vtable':
./src/pmc/managedstruct.c:1100: warning: implicit declaration of function
'Parrot_UnManagedStruct_ro_update_vtable'
./src/pmc/managedstruct.c:1100: warning: nested extern declaration of
'Parrot_UnManagedStruct_ro_update_vtable'
}}}
When building under g++, these warnings become errors (NotFound++ for
testing this):
{{{
[07:34] <@NotFound> ./src/pmc/managedstruct.c: In function 'VTABLE*
Parrot_ManagedStruct_get_vtable(parrot_interp_t*)':
[07:34] <@NotFound> ./src/pmc/managedstruct.c:1089: error:
'Parrot_UnManagedStruct_update_vtable' was not declared in this scope
}}}
Apparently the generated pmc_unmanagedstruct.h is missing some function
prototypes which the subclasses need?
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/631#comment:5>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets