2007/4/21, Jerry Richards <[EMAIL PROTECTED]>:
> Regarding the two changes I made for __attribute__ in the following
> locations...
>
> > 4) lib-sofia-sip-ua/sip/sofia-sip/sip_header.h:
> >         Forced __attribute__() to be undefined for __cplusplus
> > 6) lib-sofia-sip-ua/su/sofia-sip/su_config.h:
> >         Forced __attribute__() to be undefined for __cplusplus
>
> > I added the following lines to each of these two files:
> >#if defined(_cplusplus)
> >#  define __attribute__(x)
> >#endif
>
>> What version of compiler you have that chokes on __attribute__? An old
>> variant of GCC?
>
> I am using the "mips-linux-uclibc/bin/mipsel-uclibc-gcc" compiler.  I'm not
> sure what version of it.

With option --version it will spew out version information. Also, with
command like

touch /tmp/foobar.h ; .../mips-linux-uclibc/bin/mipsel-uclibc-gcc
-Wp,-dM -E /tmp/foobar.h

it will print out all the macros defined by your compiler.

> Perhaps I should try the "mips-linux-uclibc/bin/mipsel-uclibc-g++" compile
> command?  I'll do this on Monday and let you know the result.

I doubt the sofia-sip can be compiled with a c++ compiler...

I still don't get what is your problem. Do you compile sofia-sip with
mipsel gcc and then try to compile your app with g++?

-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to