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

4.3.1: -Wconversion-null warning during build #1147

Closed
jengelh opened this issue Jul 17, 2022 · 0 comments
Closed

4.3.1: -Wconversion-null warning during build #1147

jengelh opened this issue Jul 17, 2022 · 0 comments

Comments

@jengelh
Copy link
Contributor

jengelh commented Jul 17, 2022

Singular 4.3.1 is calling some of its own functions not properly. Warning seen on x86_64-linux target:

flintcf_Zn.cc: In function 'CanonicalForm ConvSingNFactoryN(number, BOOLEAN, coeffs)':
flintcf_Zn.cc:420:10: warning: passing NULL to non-pointer argument 1 of 'CanonicalForm::CanonicalForm(long int)' [-Wconversion-null]
  420 |   return NULL;
      |          ^~~~
In file included from flintcf_Zn.cc:15:
/home/jengelh/obs/zu/science/singular/Sources/factory/factory.h:245:30: note:   declared here
  245 |     CF_INLINE CanonicalForm( const long );
      |                              ^~~~~~~~~~
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

2 participants