From 45d047bcd07d4bd9ee06f98b0b6b878029ce69cd Mon Sep 17 00:00:00 2001 From: bernhardheld Date: Thu, 22 May 2003 08:49:43 +0000 Subject: [PATCH] src/pic16/pcode.c (pic16_get_op_from_instruction): fixed a gcc 3.x warning git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2639 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 4 ++++ src/pic16/pcode.c | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 76a741d7..bd56dbae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-05-22 Bernhard Held + + * src/pic16/pcode.c (pic16_get_op_from_instruction): fixed a gcc 3.x warning + 2003-05-21 * src/SDCCglue.c (printIval): fixed bug #739934 diff --git a/src/pic16/pcode.c b/src/pic16/pcode.c index 26ee47f7..563be44f 100644 --- a/src/pic16/pcode.c +++ b/src/pic16/pcode.c @@ -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"); } -- 2.47.2