From: bernhardheld Date: Wed, 22 Jan 2003 14:01:35 +0000 (+0000) Subject: * src/pic/pcode.c (get_op_from_instruction): fix concatenation of string literals... X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=19a894c47fccef2e5841c781b2125b7c3184f014;p=fw%2Fsdcc * src/pic/pcode.c (get_op_from_instruction): fix concatenation of string literals with __FUNCTION__ for gcc 3.2 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2167 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index e313bec2..ef73d2b4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * as/z80/string.h: removed for gcc 3.2 * support/makebin/makebin.c: #include for gcc 3.2 + * src/pic/pcode.c (get_op_from_instruction): fix concatenation of string literals with __FUNCTION__ for gcc 3.2 2003-01-19 Bernhard Held diff --git a/src/pic/pcode.c b/src/pic/pcode.c index b9d3418c..b6763d85 100644 --- a/src/pic/pcode.c +++ b/src/pic/pcode.c @@ -2590,7 +2590,10 @@ static char *get_op_from_instruction( pCodeInstruction *pcc) if(pcc ) return get_op(pcc->pcop,NULL,0); + /* gcc 3.2: warning: concatenation of string literals with __FUNCTION__ is deprecated return ("ERROR Null: "__FUNCTION__); + */ + return ("ERROR Null: get_op_from_instruction"); }