summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2010-02-08 10:34:18 +0000
committermcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2010-02-08 10:34:18 +0000
commit4b713d71c62e9ff1f8ab5d52c78abec8fab09a8e (patch)
treec821d0d095833fa22a0d47a24eb952df463b12f4
parent580a6ace507ad2a1d5620074707a30623a74d01c (diff)
downloadATCD-4b713d71c62e9ff1f8ab5d52c78abec8fab09a8e.tar.gz
Mon Feb 8 10:33:30 UTC 2010 Martin Corino <mcorino@remedy.nl>
* ace/ETCL/ETCL_l.cpp: Fixed new GCC 4.4.x warning about ignoring return values of function marked by the new warn_unused_result attribute.
-rw-r--r--ACE/ChangeLog6
-rw-r--r--ACE/ace/ETCL/ETCL_l.cpp2
2 files changed, 7 insertions, 1 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index 395445c690b..c1ed3e7123d 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,9 @@
+Mon Feb 8 10:33:30 UTC 2010 Martin Corino <mcorino@remedy.nl>
+
+ * ace/ETCL/ETCL_l.cpp:
+ Fixed new GCC 4.4.x warning about ignoring return values of
+ function marked by the new warn_unused_result attribute.
+
Sat Feb 6 18:58:30 UTC 2010 Martin Corino <mcorino@remedy.nl>
* include/makeinclude/wrapper_macros.GNU:
diff --git a/ACE/ace/ETCL/ETCL_l.cpp b/ACE/ace/ETCL/ETCL_l.cpp
index 37ca3d8d26d..bb343092dfc 100644
--- a/ACE/ace/ETCL/ETCL_l.cpp
+++ b/ACE/ace/ETCL/ETCL_l.cpp
@@ -563,7 +563,7 @@ YY_MALLOC_DECL
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
-#define ETCL_ECHO (void) fwrite( yytext, yyleng, 1, yyout )
+#define ETCL_ECHO { size_t __dum_ret = fwrite( yytext, yyleng, 1, yyout ); (void) __dum_ret; }
#endif
//FUZZ: enable check_for_lack_ACE_OS