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

Build problems with gcc 6 #4

Closed
olebole opened this issue Jul 14, 2016 · 10 comments
Closed

Build problems with gcc 6 #4

olebole opened this issue Jul 14, 2016 · 10 comments

Comments

@olebole
Copy link
Contributor

olebole commented Jul 14, 2016

On Debian, there was recently a rebuild with the latest gcc version, which failed for tkblt:

gcc -DPACKAGE_NAME=\"tkblt\" [...]  -g -O2 -fstack-protector-strong \
 -Wformat -Werror=format-security -pipe -fomit-frame-pointer \
 -DNDEBUG -Wall -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 \
 -c `echo src/tkbltVecMath.C` -o src/tkbltVecMath.o
src/tkbltVecMath.C:1483:48: error: overloaded function with no contextual type information
     {"acos", (void*)ComponentFunc, (ClientData)acos},
                                                ^~~~
src/tkbltVecMath.C:1484:48: error: overloaded function with no contextual type information
     {"asin", (void*)ComponentFunc, (ClientData)asin},
                                                ^~~~
[...]

Full log here.
This is reported as Debian bug #831167.

@wjoye wjoye closed this as completed Jul 14, 2016
@wjoye wjoye reopened this Jul 14, 2016
@wjoye
Copy link
Owner

wjoye commented Jul 14, 2016

added global namespace spec to generic math functions

@wjoye wjoye closed this as completed Jul 14, 2016
@olebole
Copy link
Contributor Author

olebole commented Jul 14, 2016

Thank you very much! I'll upload the new version to Debian tomorrow.

@mobarre
Copy link

mobarre commented Jul 18, 2016

Hi !

Sorry to barge in a closed ticket, but I seem to be getting the same issue with gcc 6.1.1 and a git clone of the repo with the fix from 4 days ago. Am I missing something ?

build.txt

@wjoye
Copy link
Owner

wjoye commented Jul 18, 2016

yep, still a problem. Working on it.

@wjoye wjoye reopened this Jul 18, 2016
@wjoye
Copy link
Owner

wjoye commented Jul 18, 2016

fixed.

@wjoye wjoye closed this as completed Jul 18, 2016
@gronki
Copy link

gronki commented Dec 9, 2016

When will this be pulled to ds9?

@wjoye
Copy link
Owner

wjoye commented Jan 4, 2017

Sorry for the delay, tkblt has been updated in ds9

@wjoye wjoye reopened this Jan 4, 2017
@wjoye
Copy link
Owner

wjoye commented Jan 4, 2017

fixed

@wjoye wjoye closed this as completed Jan 4, 2017
@opoplawski
Copy link

Could we get a new ds9 release with these fixes?

@deliazhang
Copy link

I am still getting this error

wjoye added a commit that referenced this issue Mar 22, 2019
334e6d36 Merge pull request #4 from olebole/pkgIndex.tcl
7a298219 Revert pkgIndex.tcl to original version

git-subtree-dir: tclxml
git-subtree-split: 334e6d3691407b48a3c2d3187fa47b55bb590322
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants