]> git.gag.com Git - fw/sdcc/commitdiff
* src/pic/pcode.c (get_op_from_instruction): fix concatenation of string literals...
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 22 Jan 2003 14:01:35 +0000 (14:01 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 22 Jan 2003 14:01:35 +0000 (14:01 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2167 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
src/pic/pcode.c

index e313bec2ef30f0e13a055f06f983002fa5e8d0f6..ef73d2b4822bc99f7f2d2310716394bfbad726b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
        * as/z80/string.h: removed for gcc 3.2
        * support/makebin/makebin.c: #include <string.h> 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 <bernhard@bernhardheld.de>
 
index b9d3418c087769256160f047c06e8c8d70721728..b6763d85c9dbc04ad96526cb2a8a89a1e91f380c 100644 (file)
@@ -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");
 
 }