Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: bmarkus on September 17, 2010, 02:36:49 AM

Title: Compilation issues
Post by: bmarkus on September 17, 2010, 02:36:49 AM
Trying to rebuild an extension on TC 3.1 with uptodate set of extensions compilation fails:

Quote
warning: assignment makes pointer from integer without a cast

and then compilation stops with error message.

Same source and same build script on August 20, TC3.0 built a working extension without error. GCC seems to be the same in the repo, but something changed in the compile environment :(
Title: Re: Compilation issues
Post by: Juanito on September 17, 2010, 02:57:58 AM
I've been doing a lot of compiling with tc-3.1 in the last few days without errors..
Title: Re: Compilation issues
Post by: bmarkus on September 17, 2010, 03:29:42 AM
I've been doing a lot of compiling with tc-3.1 in the last few days without errors..

For sure it depends on source. There are nice clean source codes where no any warnings. In the specific case I can suppress the warning with a command line switch so it is not blocking, executable works fine. However I notice the different behavior of GCC on the same source and build script and do not know why is it more strict now than a month ago  :-\