Open p5pRT opened 17 years ago
When using h2xs to convert enums there is a macro test failure in
const-c.inc. It seems to be treating enums as if they were #define macros.
I found a blog about this that describes the problems and includes the
appropriate workarounds (hacks)
http://blogs.sun.com/akolb/entry/pitfals_of_the_perl_xs
It seems ExtUtils::Constant::WriteConstants() which
generates const-c.inc is broken.
--Aaron Dancygier
On Wed Sep 20 14:54:01 2006\, aaron.dancygier@pipelinefinancial.com wrote:
This is a bug report for perl from aaron.dancygier@pipelinefinancial.com\,
generated with the help of perlbug 1.35 running under perl v5.8.8.
-----------------------------------------------------------------
[Please enter your report here]
When using h2xs to convert enums there is a macro test failure in
const-c.inc. It seems to be treating enums as if they were #define macros.
I found a blog about this that describes the problems and includes the
appropriate workarounds (hacks)
http://blogs.sun.com/akolb/entry/pitfals_of_the_perl_xs
It seems ExtUtils::Constant::WriteConstants() which
generates const-c.inc is broken.
Its possible that this problem has been fixed\, as mentioned in RT #25355. Unfortunately\, you've not provided a .h file to test with\, Can you please provide one?
The RT System itself - Status changed from 'new' to 'open'
I'm including a tarball which tests the included header file. In the bundle is the original makefile and the fixed makefile. I've also added a test file values.t which actually tries to test the values. If you build with the default makefile values.t fails. Replace it with Makefile.PL.fix and rerun make\, make test and it works.
Aaron
-----Original Message----- From: Steve Peters via RT [mailto:perlbug-followup@perl.org] Sent: Wednesday\, September 20\, 2006 10:09 PM To: Aaron Dancygier Subject: [perl #40381] h2xs enum bug in ExtUtils::Constant::WriteConstants
On Wed Sep 20 14:54:01 2006\, aaron.dancygier@pipelinefinancial.com wrote:
This is a bug report for perl from aaron.dancygier@pipelinefinancial.com\,
generated with the help of perlbug 1.35 running under perl v5.8.8.
-----------------------------------------------------------------
[Please enter your report here]
When using h2xs to convert enums there is a macro test failure in
const-c.inc. It seems to be treating enums as if they were #define macros.
I found a blog about this that describes the problems and includes the
appropriate workarounds (hacks)
http://blogs.sun.com/akolb/entry/pitfals_of_the_perl_xs
It seems ExtUtils::Constant::WriteConstants() which
generates const-c.inc is broken.
Its possible that this problem has been fixed\, as mentioned in RT #25355. Unfortunately\, you've not provided a .h file to test with\, Can you please provide one?
Disclaimer: Any references to Pipeline performance contained herein are based on historic performance levels which Pipeline expects to maintain or exceed but nevertheless does not guarantee. Congested networks\, price volatility\, or other extraordinary events may impede future trading activities and degrade performance statistics.
On Wed Sep 20 14:54:01 2006\, aaron.dancygier@pipelinefinancial.com wrote:
This is a bug report for perl from aaron.dancygier@pipelinefinancial.com\,
generated with the help of perlbug 1.35 running under perl v5.8.8.
When using h2xs to convert enums there is a macro test failure in
const-c.inc. It seems to be treating enums as if they were #define macros.
I found a blog about this that describes the problems and includes the
appropriate workarounds (hacks)
http://blogs.sun.com/akolb/entry/pitfals_of_the_perl_xs
Following that link\, I eventually got a 404 error.
Aaron\, do you think you could post more detail about this problem?
Thank you very much. Jim Keenan
* James E Keenan via RT \perlbug\-followup@​perl\.org [2012-05-27 02:25]:
On Wed Sep 20 14:54:01 2006\, aaron.dancygier@pipelinefinancial.com wrote:
I found a blog about this that describes the problems and includes the appropriate workarounds (hacks)
http://blogs.sun.com/akolb/entry/pitfals_of_the_perl_xs
Following that link\, I eventually got a 404 error.
Aaron\, do you think you could post more detail about this problem?
http://web.archive.org/web/20090621113027/http://blogs.sun.com/akolb/entry/pitfals_of_the_perl_xs
Migrated from rt.perl.org#40381 (status was 'open')
Searchable as RT40381$