'return' : 'int ' differs in levels of indirection from 'char *'
* config.dsp: as/lib corrected to as/link
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5329
4a8a32a2-be11-0410-ad9d-
d568d2c75423
* doc/README.txt: updated John Hartman's e-mail address
* as/link/lkrel.c, as/link/lksdcclib.c:
fixed bug #2484677: Linker hangs
* doc/README.txt: updated John Hartman's e-mail address
* as/link/lkrel.c, as/link/lksdcclib.c:
fixed bug #2484677: Linker hangs
+ * src/z80/peep.c: fixed msvc warning C4047:
+ 'return' : 'int ' differs in levels of indirection from 'char *'
+ * config.dsp: as/lib corrected to as/link
2009-01-04 Philipp Klaus Krause <pkk AT spth.de>
2009-01-04 Philipp Klaus Krause <pkk AT spth.de>
# Begin Custom Build\r
InputPath=.\as\link\asxxxx_config.h.in\r
\r
# Begin Custom Build\r
InputPath=.\as\link\asxxxx_config.h.in\r
\r
-"as/lib/asxxxx_config.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
+"as/link/asxxxx_config.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
gawk -f configure_vc.awk as/link/asxxxx_config.h.in > as/link/asxxxx_config.h\r
\r
# End Custom Build\r
gawk -f configure_vc.awk as/link/asxxxx_config.h.in > as/link/asxxxx_config.h\r
\r
# End Custom Build\r
# Begin Custom Build\r
InputPath=.\as\link\asxxxx_config.h.in\r
\r
# Begin Custom Build\r
InputPath=.\as\link\asxxxx_config.h.in\r
\r
-"as/lib/asxxxx_config.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
+"as/link/asxxxx_config.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
gawk -f configure_vc.awk as/link/asxxxx_config.h.in > as/link/asxxxx_config.h\r
\r
# End Custom Build\r
gawk -f configure_vc.awk as/link/asxxxx_config.h.in > as/link/asxxxx_config.h\r
\r
# End Custom Build\r
/* Check if reading arg implies reading what. */
static bool argCont(const char *arg, const char *what)
{
/* Check if reading arg implies reading what. */
static bool argCont(const char *arg, const char *what)
{
- if(arg[0] == '#')
- return FALSE;
- return(strstr(arg, what));;
+ return (arg[0] == '#') ? FALSE : strstr(arg, what) != NULL;
strncmp(pl->line, "dec\t", 4) == 0 ||
strncmp(pl->line, "inc\t", 4) == 0 ||
strncmp(pl->line, "rl\t", 4) == 0 ||
strncmp(pl->line, "dec\t", 4) == 0 ||
strncmp(pl->line, "inc\t", 4) == 0 ||
strncmp(pl->line, "rl\t", 4) == 0 ||
- strncmp(pl->line, "rr\t", 4) == 0 ||
+ strncmp(pl->line, "rr\t", 4) == 0 ||
strncmp(pl->line, "sla\t", 4) == 0 ||
strncmp(pl->line, "sra\t", 4) == 0 ||
strncmp(pl->line, "srl\t", 4) == 0)
strncmp(pl->line, "sla\t", 4) == 0 ||
strncmp(pl->line, "sra\t", 4) == 0 ||
strncmp(pl->line, "srl\t", 4) == 0)