]> git.gag.com Git - fw/sdcc/commitdiff
src/pic16/pcode.c (pic16_get_op_from_instruction): fixed a gcc 3.x warning
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 22 May 2003 08:49:43 +0000 (08:49 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 22 May 2003 08:49:43 +0000 (08:49 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2639 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
src/pic16/pcode.c

index 76a741d75616db235713b10b434f195cc01ac862..bd56dbaeb08ea0e1914e0e0e38a7c15effed5615 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-05-22  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/pic16/pcode.c (pic16_get_op_from_instruction): fixed a gcc 3.x warning
+
 2003-05-21    <johan@balder>
 
        * src/SDCCglue.c (printIval): fixed bug #739934
index 26ee47f70acae28ac2276370da65cb9ca4eeed20..563be44f7279eedf55bee8ec22e33d37689b35b5 100644 (file)
@@ -3647,8 +3647,11 @@ static char *pic16_get_op_from_instruction( pCodeInstruction *pcc)
 
   if(pcc )
     return pic16_get_op(pcc->pcop,NULL,0);
-  
-  return ("ERROR Null: "__FUNCTION__);
+
+  /* gcc 3.2:  warning: concatenation of string literals with __FUNCTION__ is deprecated 
+   *   return ("ERROR Null: "__FUNCTION__);
+   */
+  return ("ERROR Null: pic16_get_op_from_instruction");
 
 }