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
cpp wrapper detection imperfect #9697
Comments
From @nwc10Created by @nwc10I've been playing with clang, and found a bug in it which prevents building Specifically, clang -E foo.c works, but clang -E foo.h doesn't. Now, whilst this is a bug in clang, we, in theory, probe for and work around Ideally, to have trapped this, we'd try for testcpp.c and testcpp.h, and if if $ok; then Is there a clean way to adapt all of that to loop for both file names? Nicholas Clark Perl Info
|
From @doughera88On Tue, 31 Mar 2009, Nicholas Clark wrote:
It's not the .c vs. .h issue per se. It's that all the tests $cc -E <testcpp.c >testcpp.out 2>&1 The .c vs. .h distinction is irrelevant here. I gather Errno is trying to do something subtly different, and not just -- |
The RT System itself - Status changed from 'new' to 'open' |
From @nwc10On Fri, Apr 03, 2009 at 08:53:16AM -0400, Andy Dougherty wrote:
ext/Errro/Errno_pm.PL, here: # With the -dM option, gcc outputs every #define it finds And yes, I realised soon after I sent the bug report that the wrapper would Nicholas Clark |
The clang bug to which Nick linked was fixed in 2009. perl builds and tests fine with clang, including tests for Errno. I am taking it for the purpose of closing it in 7 days unless someone seriously objects. Thank you very much. |
Closing as per schedule. |
Migrated from rt.perl.org#64318 (status was 'open')
Searchable as RT64318$
The text was updated successfully, but these errors were encountered: