aboutsummaryrefslogtreecommitdiff
path: root/gas/config/rx-parse.y
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-25 20:36:22 +0000
committerMike Frysinger <vapier@gentoo.org>2011-10-25 20:36:22 +0000
commit214ce7b58a5e6526bd9fcfe7e7893e2b915f75fd (patch)
tree9a6bfa1cac53bc2d1534618d3045aad3b84affa0 /gas/config/rx-parse.y
parent54d8a6445fa1b27e4cd03307af963828cf337f9f (diff)
downloadgdb-214ce7b58a5e6526bd9fcfe7e7893e2b915f75fd.zip
gdb-214ce7b58a5e6526bd9fcfe7e7893e2b915f75fd.tar.gz
gdb-214ce7b58a5e6526bd9fcfe7e7893e2b915f75fd.tar.bz2
Building rx's gas code atm fails:
rx-parse.c: In function ‘rx_parse’: rx-parse.c:3774:9: error: passing argument 1 of ‘rx_error’ discards ‘const’ qualifier from pointer target type [-Werror] ../../../gas/config/rx-defs.h:40:12: note: expected ‘char *’ but argument is of type ‘const char *’ cc1: all warnings being treated as errors Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gas/config/rx-parse.y')
-rw-r--r--gas/config/rx-parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/rx-parse.y b/gas/config/rx-parse.y
index b473788..263e78b 100644
--- a/gas/config/rx-parse.y
+++ b/gas/config/rx-parse.y
@@ -1277,7 +1277,7 @@ rx_lex (void)
}
int
-rx_error (char * str)
+rx_error (const char * str)
{
int len;