Juha Heinanen writes:

> thanks for the commit.  when i tried to compile master branch, it failed
> here:
> 
> g++ -MMD -c -o AmSipRegistration.o AmSipRegistration.cpp  -D_DEBUG 
> -D_THREAD_SAFE -D_REENTRANT -DSEMS_VERSION='"1.6.0"' -DARCH='"x86"' 
> -DOS='"linux"' -DSYSTEM_SAMPLECLOCK_RATE=32000LL -DSUPPORT_IPV6 
> -DUSE_MONITORING -DLOG_BUFFER_LEN=2048 -I. -fno-strict-aliasing 
> -DUSE_INTERNAL_RESAMPLER -DUSE_SPANDSP -D__STDC_LIMIT_MACROS -g -O2 -Wall 
> -Wno-reorder -fPIC -g  -O2
> g++ -MMD -c -o AmSipSubscriptionContainer.o AmSipSubscriptionContainer.cpp  
> -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DSEMS_VERSION='"1.6.0"' -DARCH='"x86"' 
> -DOS='"linux"' -DSYSTEM_SAMPLECLOCK_RATE=32000LL -DSUPPORT_IPV6 
> -DUSE_MONITORING -DLOG_BUFFER_LEN=2048 -I. -fno-strict-aliasing 
> -DUSE_INTERNAL_RESAMPLER -DUSE_SPANDSP -D__STDC_LIMIT_MACROS -g -O2 -Wall 
> -Wno-reorder -fPIC -g  -O2
> In file included from AmSipSubscriptionContainer.h:32,
>                  from AmSipSubscriptionContainer.cpp:30:
> AmSipSubscription.h:99: error: ISO C++ forbids declaration of ‘auto_ptr’ with 
> no type
> AmSipSubscription.h:99: error: invalid use of ‘::’
> AmSipSubscription.h:99: error: expected ‘;’ before ‘<’ token
> make[2]: *** [AmSipSubscriptionContainer.o] Error 1

two more similar errors:

g++ -MMD -g -O2 -Wall -Wno-reorder -fPIC -g  -O2   -D_DEBUG -D_THREAD_SAFE 
-D_REENTRANT -DSEMS_VERSION='"1.6.0"' -DARCH='"x86"' -DOS='"linux"' 
-DSYSTEM_SAMPLECLOCK_RATE=32000LL -DSUPPORT_IPV6 -DUSE_MONITORING 
-DLOG_BUFFER_LEN=2048 -I ../../core  -c RegisterDialog.cpp -o RegisterDialog.o
In file included from SBCSimpleRelay.h:32,
                 from RegisterDialog.h:4,
                 from RegisterDialog.cpp:1:
../../core/AmSipSubscription.h:99: error: ISO C++ forbids declaration of 
‘auto_ptr’ with no type
../../core/AmSipSubscription.h:99: error: invalid use of ‘::’
../../core/AmSipSubscription.h:99: error: expected ‘;’ before ‘<’ token

g++ -MMD -c -o AmSipSubscriptionContainer.o AmSipSubscriptionContainer.cpp  
-D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DSEMS_VERSION='"1.6.0"' -DARCH='"x86"' 
-DOS='"linux"' -DSYSTEM_SAMPLECLOCK_RATE=32000LL -DSUPPORT_IPV6 
-DUSE_MONITORING -DLOG_BUFFER_LEN=2048 -I. -fno-strict-aliasing 
-DUSE_INTERNAL_RESAMPLER -DUSE_SPANDSP -D__STDC_LIMIT_MACROS -g -O2 -Wall 
-Wno-reorder -fPIC -g  -O2
In file included from AmSipSubscriptionContainer.h:32,
                 from AmSipSubscriptionContainer.cpp:30:
AmSipSubscription.h:99: error: ISO C++ forbids declaration of ‘auto_ptr’ with 
no type
AmSipSubscription.h:99: error: invalid use of ‘::’
AmSipSubscription.h:99: error: expected ‘;’ before ‘<’ token
make[1]: *** [AmSipSubscriptionContainer.o] Error 1

-- juha
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to