New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
h2xs does not handle properly enum constants #9381
Comments
From domi@komarr.gre.hp.comCreated by domi@komarr.gre.hp.comHello I've used h2xs (hence ExtUtils::Constant) to generate bindings for enum aug_flags { h2xs correctly detects these constants, but it will generate a C code This code does not work as the constants are not known to cpp. In itself, it not a big problem, but finding out what's wrong is a There's a workaround suggested on Sun's blogs [2] which works fine. HTH [1] http://augeas.net/ Perl Info
|
From @smpeters
As a side note, there have been several fixes that have gone into h2xs I had thought that all the enum problems had been nailed down though. Steve Peters |
The RT System itself - Status changed from 'new' to 'open' |
p5p@spam.wizbit.be - Status changed from 'open' to 'stalled' |
From jeffrey.ratcliffe@gmail.com
If you try the example in the blog[1], the only bug that has been 870c868 all of the others remain. The .h in question is: #define XST_DEFINE 1 typedef enum xst_enum { typedef enum xst_enum_val { The command was: h2xs --skip-ppport --overwrite-ok --autogen-xsubs --name=XS::Test xs_test.h Regards Jeff [1] http://blogs.sun.com/akolb/entry/pitfals_of_the_perl_xs |
The RT System itself - Status changed from 'stalled' to 'open' |
From @nwc10
Sigh. "your blog" is not the place to report bugs. Moreover, "your blog" (or any third party hosted URL) can go away. (I don't know if the dodgy HTML a side effect of the Wayback machine Nicholas Clark |
Migrated from rt.perl.org#55896 (status was 'open')
Searchable as RT55896$
The text was updated successfully, but these errors were encountered: