Alberto Luaces wrote:
> this shouldn't be possible with the changes recently commited to the SVN. 
> Could you confirm that the lines number 924 and 925 of sockinet.cpp are
> 
> //#if !defined(WIN32)
> #if !(defined(__CYGWIN__) || defined(WIN32))

If we are talking src/osgplugins/sockinet.cpp mine only has 445 lines and it 
was retrieved fresh from svn last week and I just did an svn update to confirm.

> Could you also please check that __CYGWIN__ macro is defined for the compiler 
> you are using? On my system:
> 
> $ touch testfile.cpp
> $ g++ testfile.cpp -E -dM | grep __CYGWIN_ 
> #define __CYGWIN__ 1

ditto:
[EMAIL PROTECTED] /usr/tmp
$ g++ testfile.cpp -E -dM |grep __CYGWIN_
#define __CYGWIN__ 1

[EMAIL PROTECTED] /usr/tmp
$ g++ testfile.cpp -E -dM |pg

In your case what about:
[EMAIL PROTECTED] /usr/tmp
$ g++ testfile.cpp -E -dM |grep __unix
#define __unix 1
#define __unix__ 1

> $ g++ -v
> Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
> Configured 
> with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --verbose 
--prefix=/usr --exec-prefix=/usr --
> sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib 
--mandir=/usr/share/man --infodir=/usr/share/info --enable-langu
> ages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext 
--enable-version-specific-runtime-libs --w
> ithout-x --enable-libgcj --disable-java-awt --with-system-zlib 
--enable-interpreter --disable-libgcj-debug --enable-thre
> ads=posix --enable-java-gc=boehm --disable-win32-registry 
--enable-sjlj-exceptions --enable-hash-synchronization --enabl
> e-libstdcxx-debug
> Thread model: posix

ditto but did you omit the last version line or does mine have it and yours 
does not:
[EMAIL PROTECTED] /usr/tmp
$ g++ -v |pg
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure 
--ver
bose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib 
--libe
xecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info 
--enable-langu
ages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext 
--
enable-version-specific-runtime-libs --without-x --enable-libgcj 
--disable-java-
awt --with-system-zlib --enable-interpreter --disable-libgcj-debug 
--enable-thre
ads=posix --enable-java-gc=boehm --disable-win32-registry 
--enable-sjlj-exceptio
ns --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)


thanks

bk



_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to