I'm trying to build flint with the Sun compiler, but it gives numerous 
warnings like this:


"zn_poly/src/zn_poly_internal.h", line 35: warning: invalid white space 
character in directive
"zn_poly/src/zn_poly_internal.h", line 36: warning: invalid white space 
character in directive

Looking at this in more detail, I see that the file zn_poly_internal.h 
in the flint source code is terminated with <CR><LF>, which is not usual 
on Unix systems. The Sun compiler throws warnings about this.

But the source from zn_polly has no such problems. It would appear that 
whenever code from zn_polly where incorporated into the flint source 
code, this was done in DOS format - the rest of flint is in the standard 
unix format.

There are many files like this - that is only one example.

I could make a patch, and replace every file by a Unix formatted version 
of the same file.


cp patches/foo.c.unix  src/foo.c
cp patches/bar.c.unix  src/bar.c
etc etc

Obviously that would increase the size of the .spkg

*OR* I could simply change all the files to Unix format which would be a 
lot simpler and would reduce the size of the .spkg. But it would mean 
the 'src' directory does not contain an exact replica of the flint 
source code.

It is ok to simply make a new .spkg with the files in the proper unix 
format?

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to