err ... you are right ... 

sys/types.h is not portable across platforms, is it? if so, it would
make sense, to use it ...

fixed in svn ...

cheers, tim

> g++ -o debug/interpreter/main.o -c -pipe -g -ftemplate-depth-4096 
> -Wnon-virtual-dtor -D__LITTLE_ENDIAN__ -DHAVE_POSIX_MEMALIGN -DHAVE_UNISTD_H 
> -DHAVE_SEMAPHORE_H -DHAVE_TIMES_H -DHAVE_PORTAUDIO -DREVISION=\"0.1\" 
> -DDL_OPEN -DDEBUG -DBOOST_DISABLE_ASSERTS -I/usr/include/python2.5 
> -Ilibs/boost -Ilibs/boost_asio -Ilibs/uuid -Ilibs/property_tree 
> -Ilibs/intrusive -Ilibs/pri_queue -Ilibs/libatomic_ops/src -Ilibs/oscpack 
> -Ilibs/muparser/include -Ilibs -Ilibs/sparsehash-0.6/src 
> -Ilibs/libresample-0.1.3/include -Idebug -Isource source/interpreter/main.cpp
> source/utilities/utils.hpp:76: error: conflicting declaration 'typedef size_t 
> uint'
> /usr/include/sys/types.h:153: error: 'uint' has a previous declaration as 
> 'typedef unsigned int uint'
> scons: *** [debug/interpreter/main.o] Error 1
> scons: building terminated because of errors.
> [EMAIL PROTECTED]:~/dev/nova/delete-key-deletes-things$ uname -a
> Linux thebe 2.6.20-16-generic #2 SMP Thu Aug 30 23:16:15 UTC 2007 x86_64 
> GNU/Linux
> 
> I'd guess the relevant detail is that this is an amd64 box. The relevant line
> is utils.hpp:76:
> 
> typedef std::size_t uint;
> 
> This conflicts with <sys/types.h>:
> 
> typedef unsigned int uint;
> 
> If you need uint, why not just include the relevant header? Better yet,
> why not use "unsigned int"?
> _______________________________________________
> nova-dev mailing list
> [email protected]
> http://klingt.org/cgi-bin/mailman/listinfo/nova-dev
> http://tim.klingt.org/nova
--
[EMAIL PROTECTED]    ICQ: 96771783
http://tim.klingt.org

Every word is like an unnecessary stain on silence and nothingness
  Samuel Beckett

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
nova-dev mailing list
[email protected]
http://klingt.org/cgi-bin/mailman/listinfo/nova-dev
http://tim.klingt.org/nova

Reply via email to