]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix crazy build issue with broken gcc optimizer on bleeding edge ubuntu
authorMichael Jerris <mike@jerris.com>
Thu, 29 Jan 2009 18:56:16 +0000 (18:56 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 29 Jan 2009 18:56:16 +0000 (18:56 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@627 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/configure.ac
libs/openzap/src/ozmod/ozmod_wanpipe/wanpipe_tdm_api_iface.h

index 7451ecc64700a37b7878775a9f3802b038463b4c..cb613a79d561786140045fb95e4973d10a383612 100644 (file)
@@ -51,7 +51,7 @@ AX_COMPILER_VENDOR
 
 case "${ax_cv_c_compiler_vendor}" in
 gnu)
-    COMP_VENDOR_CFLAGS="-ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes"
+    COMP_VENDOR_CFLAGS="-ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -O0"
     ;;
 sun)
     COMP_VENDOR_CFLAGS="-xc99=all -mt -xCC -D__FUNCTION__=__func__ -xvpara"
index cfb4c151ac934795185225fb3c2e5d35d050fbfc..3801ff9c8c023c2fc86506383d872a71f9ab9a32 100644 (file)
@@ -187,40 +187,40 @@ enum wanpipe_tdm_api_events {
 
 typedef struct {
 
-       uint8_t type;
-       uint8_t mode;
-       uint32_t        time_stamp;
-       uint8_t channel;
-       uint32_t        chan_map;
-       uint8_t span;
+       u_int8_t        type;
+       u_int8_t        mode;
+       u_int32_t       time_stamp;
+       u_int8_t        channel;
+       u_int32_t       chan_map;
+       u_int8_t        span;
        union {
                struct {
-                       uint8_t alarm;
+                       u_int8_t        alarm;
                } te1_alarm;
                struct {
-                       uint8_t rbs_bits;
+                       u_int8_t        rbs_bits;
                } te1_rbs;
                struct {
-                       uint8_t state;
-                       uint8_t sig;
+                       u_int8_t        state;
+                       u_int8_t        sig;
                } rm_hook;
                struct {
-                       uint8_t state;
+                       u_int8_t        state;
                } rm_ring;
                struct {
-                       uint8_t type;
+                       u_int8_t        type;
                } rm_tone;
                struct {
-                       uint8_t digit;  /* DTMF: digit  */
-                       uint8_t port;   /* DTMF: SOUT/ROUT */
-                       uint8_t type;   /* DTMF: PRESET/STOP */
+                       u_int8_t        digit;  /* DTMF: digit  */
+                       u_int8_t        port;   /* DTMF: SOUT/ROUT */
+                       u_int8_t        type;   /* DTMF: PRESET/STOP */
                } dtmf;
                struct {
-                       uint16_t        polarity;
-                       uint16_t        ohttimer;
+                       u_int16_t       polarity;
+                       u_int16_t       ohttimer;
                } rm_common;
                struct{
-                       uint16_t status;
+                       u_int16_t status;
                } linkstatus;
        } wp_tdm_api_event_u;
 #define wp_tdm_api_event_type          type