[sr-dev] git:sr_3.0: compile: don't warn on old gcc versions

Andrei Pelinescu-Onciul andrei at iptel.org
Mon Oct 12 18:32:50 CEST 2009


Module: sip-router
Branch: sr_3.0
Commit: 18d2bb2c8a72f508a93a0e802f439390731909a6
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=18d2bb2c8a72f508a93a0e802f439390731909a6

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Mon Oct 12 16:39:38 2009 +0200

compile: don't warn on old gcc versions

---

 compiler_opt.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/compiler_opt.h b/compiler_opt.h
index 7fe2c21..fd39638 100644
--- a/compiler_opt.h
+++ b/compiler_opt.h
@@ -52,7 +52,7 @@
 
 #else /* __GNUC__ */
 
-#warning "No compiler optimizations supported try gcc 4.x"
+/* #warning "No compiler optimizations supported try gcc 4.x" */
 #define likely(expr) (expr)
 #define unlikely(expr) (expr)
 




More information about the sr-dev mailing list