sac2c issueshttps://gitlab.sac-home.org/sac-group/sac2c/-/issues2017-11-23T23:24:44Zhttps://gitlab.sac-home.org/sac-group/sac2c/-/issues/2205Make selects SDL sources despite SDL not being available2017-11-23T23:24:44ZMiguel Sousa DiogoMake selects SDL sources despite SDL not being available| | |
| --- | --- |
| Bugzilla Link | [945](http://bugs.sac-home.org/show_bug.cgi?id=945) |
| Created on | Apr 10, 2012 16:29 |
| Resolution | FIXED |
| Resolved on | Jun 20, 2012 13:18 |
| Version | svn |
| OS | All |
| Architecture |...| | |
| --- | --- |
| Bugzilla Link | [945](http://bugs.sac-home.org/show_bug.cgi?id=945) |
| Created on | Apr 10, 2012 16:29 |
| Resolution | FIXED |
| Resolved on | Jun 20, 2012 13:18 |
| Version | svn |
| OS | All |
| Architecture | PC |
| Attachments | [Terminal_Saved_Output.txt](/uploads/22baf22b100fe341fa6a061650d09e70/Terminal_Saved_Output.txt) |
## Extended Description
I'm trying to compile the SaC stdlib in a system without SDL. The configure script correctly figures out that SDL is not installed, and make displays a warning:
"Skipping BMP, SDLisplay and SDL2 because libSDL was not found"
Despite this, make selects several C files in world/stdio/src/SDL2/ and world/stdio/src/BMP for compilation, which obviously fails.
I attached some console output to illustrate this.BugZillaBugZillahttps://gitlab.sac-home.org/sac-group/sac2c/-/issues/2200warning in sprintf.c2017-11-23T23:24:20ZSven-Bodo Scholzwarning in sprintf.c| | |
| --- | --- |
| Bugzilla Link | [931](http://bugs.sac-home.org/show_bug.cgi?id=931) |
| Created on | Mar 09, 2012 14:40 |
| Resolution | FIXED |
| Resolved on | Mar 10, 2012 10:25 |
| Version | svn |
| OS | All |
| Architecture |...| | |
| --- | --- |
| Bugzilla Link | [931](http://bugs.sac-home.org/show_bug.cgi?id=931) |
| Created on | Mar 09, 2012 14:40 |
| Resolution | FIXED |
| Resolved on | Mar 10, 2012 10:25 |
| Version | svn |
| OS | All |
| Architecture | PC |
## Extended Description
The latest masterrun shows:
(sac2c: Checked out revision 17749.
stdlib: Checked out revision 1598.
sac: Checked out revision 1633.)
modules/structures/src/String/sprintf.c:16: warning: ‘new’ may be used uninitialized in this functionBugZillaBugZillahttps://gitlab.sac-home.org/sac-group/sac2c/-/issues/2199png2array does not compile2017-11-23T23:24:15ZSven-Bodo Scholzpng2array does not compile| | |
| --- | --- |
| Bugzilla Link | [930](http://bugs.sac-home.org/show_bug.cgi?id=930) |
| Created on | Mar 09, 2012 14:38 |
| Resolution | FIXED |
| Resolved on | Mar 09, 2012 15:13 |
| Version | svn |
| OS | All |
| Architecture |...| | |
| --- | --- |
| Bugzilla Link | [930](http://bugs.sac-home.org/show_bug.cgi?id=930) |
| Created on | Mar 09, 2012 14:38 |
| Resolution | FIXED |
| Resolved on | Mar 09, 2012 15:13 |
| Version | svn |
| OS | All |
| Architecture | PC |
## Extended Description
<pre>The lates masterrun
(
sac2c: Checked out revision 17749.
stdlib: Checked out revision 1598.
sac: Checked out revision 1633.
)
shows:
world/stdio/src/PNG/png2array.c: In function ‘SAC_PNG_png2array’:
world/stdio/src/PNG/png2array.c:65: error: ‘PNG_TRANSFORM_GRAY_TO_RGB’ undeclared (first use in this function)
world/stdio/src/PNG/png2array.c:65: error: (Each undeclared identifier is reported only once
world/stdio/src/PNG/png2array.c:65: error: for each function it appears in.)
make[5]: *** [world/stdio/src/PNG/png2array.o] Error 1</pre>BugZillaBugZilla