Skip to content

Singular does not state return type of main() functions #12442

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

Closed
ohanar opened this issue Feb 4, 2012 · 31 comments
Closed

Singular does not state return type of main() functions #12442

ohanar opened this issue Feb 4, 2012 · 31 comments

Comments

@ohanar
Copy link
Member

ohanar commented Feb 4, 2012

This breaks building with clang.

I've posted an spkg fixes this (and #12441) at http://wstein.org/home/ohanar/clang-port/sage-5.0.beta1-src/spkg/standard/singular-3-1-3-3.p5.spkg. (This is a review spkg in case there are more issues with clang down the road.)

Component: packages: standard

Keywords: spkg

Author: R. Andrew Ohana, Leif Leonhardy

Branch/Commit: d45f16b

Reviewer: Leif Leonhardy, Jean-Pierre Flori, Volker Braun

Issue created by migration from https://trac.sagemath.org/ticket/12442

@ohanar
Copy link
Member Author

ohanar commented Feb 4, 2012

Attachment: singular-main-returns.patch.gz

for review purposes

@nexttime
Copy link
Mannequin

nexttime mannequin commented Apr 8, 2012

Work Issues: Rebase the spkg on the p6 from #12680.

@nexttime
Copy link
Mannequin

nexttime mannequin commented Apr 8, 2012

Reviewer: Leif Leonhardy

@nexttime
Copy link
Mannequin

nexttime mannequin commented Apr 8, 2012

comment:2

FWIW, otherwise patch looks good... ;-)

@nexttime
Copy link
Mannequin

nexttime mannequin commented Apr 8, 2012

Changed keywords from none to spkg

@nexttime
Copy link
Mannequin

nexttime mannequin commented Apr 8, 2012

Author: R. Andrew Ohana

@nexttime nexttime mannequin changed the title singular does not state return types of main methods Singular does not state return type of main() functions Apr 8, 2012
@nexttime nexttime mannequin added s: needs work and removed s: needs review labels Apr 8, 2012
@jdemeyer
Copy link
Contributor

jdemeyer commented Aug 3, 2012

comment:3

Has this been reported upstream (http://www.singular.uni-kl.de:8002/trac/newticket)?

@nexttime
Copy link
Mannequin

nexttime mannequin commented Jun 3, 2013

Changed work issues from Rebase the spkg on the p6 from #12680. to Rebase the spkg on the p6 from #14429.

@nexttime
Copy link
Mannequin

nexttime mannequin commented Jun 3, 2013

Changed work issues from Rebase the spkg on the p6 from #14429. to Rebase the spkg on the one from #14429.

@nexttime
Copy link
Mannequin

nexttime mannequin commented Jun 3, 2013

comment:6

Looks like there were meanwhile more instances (in Singular 3-1-5), although at least some of them are in test code which does not necessarily get built.

@nexttime
Copy link
Mannequin

nexttime mannequin commented Jun 13, 2013

Changed work issues from Rebase the spkg on the one from #14429. to Rebase the spkg on the latest one (presumably 3-1-5.p8).

@nexttime
Copy link
Mannequin

nexttime mannequin commented Jun 13, 2013

comment:7

Just to make you aware of #14737 (new spkg presumably coming up soon).

@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@vbraun
Copy link
Member

vbraun commented Jan 31, 2014

comment:10

Might be fixed by #14333, try sage-6.2.beta0 when its out and report back...

@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@nexttime
Copy link
Mannequin

nexttime mannequin commented May 17, 2014

comment:13

Replying to @vbraun:

Might be fixed by #14333, try sage-6.2.beta0 when its out and report back...

Nope, it isn't:

libparse.l:967:1: error: C++ requires a type specifier for all declarations

(as of Sage 6.2 / singular-3.1.6.p1)

@nexttime nexttime mannequin added s: needs work and removed s: needs info labels May 17, 2014
@nexttime
Copy link
Mannequin

nexttime mannequin commented May 17, 2014

To be put into build/pkgs/singular/patches/.

@nexttime
Copy link
Mannequin

nexttime mannequin commented May 17, 2014

comment:14

Attachment: singular-3.1.6-no_return_type.patch.gz

Replying to @nexttime:

Replying to @vbraun:

Might be fixed by #14333, try sage-6.2.beta0 when its out and report back...

Nope, it isn't:

libparse.l:967:1: error: C++ requires a type specifier for all declarations

(as of Sage 6.2 / singular-3.1.6.p1)

New patch for Singular 3.1.6 attached. (No branch [yet], also because of #13331.)

@nexttime
Copy link
Mannequin

nexttime mannequin commented May 17, 2014

comment:15

Anyway...

@nexttime nexttime mannequin added s: needs review and removed s: needs work labels May 17, 2014
@nexttime
Copy link
Mannequin

nexttime mannequin commented May 17, 2014

Changed work issues from Rebase the spkg on the latest one (presumably 3-1-5.p8). to none

@nexttime
Copy link
Mannequin

nexttime mannequin commented May 17, 2014

Changed author from R. Andrew Ohana to R. Andrew Ohana, Leif Leonhardy

@jpflori
Copy link
Contributor

jpflori commented Jul 16, 2014

comment:17

Anyone feels like reviewing this if I create a branch?
Then I'll move to #13331.

@vbraun
Copy link
Member

vbraun commented Jul 16, 2014

comment:18

This is fixed in Singular-4.0

@jpflori
Copy link
Contributor

jpflori commented Jul 16, 2014

comment:19

Great, but is it officially released (I'm aware there is tarball available) and is there anyone working on porting Sage to the new Singular interface?

@vbraun
Copy link
Member

vbraun commented Jul 16, 2014

comment:20

Well the webpage still points to 3-1-6. If you want to patch 3-1-6 in the interim then go ahead, all I'm saying is that this will fix itself sooner or later. How much of a priority is building Sage with clang?

@jpflori
Copy link
Contributor

jpflori commented Jul 17, 2014

comment:21

Actually I don't care, but I'd like to get #13331 in and this one was mentioned there.

@jpflori
Copy link
Contributor

jpflori commented Jul 17, 2014

Changed reviewer from Leif Leonhardy to Leif Leonhardy, Jean-Pierre Flori

@jpflori
Copy link
Contributor

jpflori commented Jul 17, 2014

comment:22

Still builds fine with the trivial patch, and it makes sense to me.

I assume this was actually tested with clang, so positive review.

@jpflori
Copy link
Contributor

jpflori commented Jul 17, 2014

Branch: u/jpflori/ticket/12442

@jpflori
Copy link
Contributor

jpflori commented Jul 17, 2014

New commits:

d45f16bLet Singular build with clang.

@jpflori
Copy link
Contributor

jpflori commented Jul 17, 2014

Commit: d45f16b

@vbraun
Copy link
Member

vbraun commented Jul 17, 2014

Changed reviewer from Leif Leonhardy, Jean-Pierre Flori to Leif Leonhardy, Jean-Pierre Flori, Volker Braun

@vbraun
Copy link
Member

vbraun commented Jul 18, 2014

Changed branch from u/jpflori/ticket/12442 to d45f16b

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

No branches or pull requests

4 participants