Skip to content
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

Broken support for older LLVM #19

Closed
dkfellows opened this issue Apr 28, 2018 · 2 comments
Closed

Broken support for older LLVM #19

dkfellows opened this issue Apr 28, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@dkfellows
Copy link
Owner

Describe the problem

Code currently fails to build with LLVM 3.8 (3.9 is unsupported because of other crippling bugs) and 4.0 gives worrying warnings:

./generic/llvmtcl.cpp:83:45: warning: address of 'os' will always evaluate to
      'true' [-Wpointer-bool-conversion]
            objc, argv.data(), "called from Tcl", &os);
                                                   ^~
./generic/llvmtcl.cpp:544:46: warning: reference cannot be bound to dereferenced
      null pointer in well-defined C++ code; pointer may be assumed to always
      convert to true [-Wundefined-bool-conversion]
        Tcl_ListObjAppendElement(NULL, rtl, NewObj(&value));
                                            ~~~~~~  ^~~~~

5.0 and 6.0 both compile cleanly. I plan on dropping 3.* entirely (as it doesn't support the coroutine analysis and optimisation header), and fixing 4.0.

@dkfellows dkfellows added the bug label Apr 28, 2018
@dkfellows dkfellows added this to the 3.9 milestone Apr 28, 2018
@dkfellows dkfellows self-assigned this Apr 28, 2018
@kennykb
Copy link

kennykb commented Apr 28, 2018

I'm totally fine with dropping 3.x support. Even on my Ubuntu LTS machines, I rolled forward to 5.0 a while ago. I have tried testing LLVM 7. There are further incompatible (combat-able?) API changes that I haven't had time to investigate. Since 6 is the current stable release, it's not worth holding up an llvmtcl release for them.

@dkfellows
Copy link
Owner Author

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants