bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: crash when parsing boost c++ headers


From: Alex Ott
Subject: Re: crash when parsing boost c++ headers
Date: Fri, 23 Jan 2009 13:19:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>>>> "SY" == Shigio YAMAGUCHI writes:
 SY> Hello,
 >> You need to add to configure the ckeck for support of 64-bit offsets
 >> and if it exists, then add following flags to CFLAGS ->
 >> "-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"

 SY> Thank you for information.  I wrote a FAQ. What do you think?

 SY> ---------------------------------------------------------------------
 SY> Q99:

 SY> I'm using GNU system.  In a large project, gtags fails in making tags
 SY> like follows:

 SY> $ gtags gtags: cannot write to database.  $ _

 SY> It seems that gtags cannot make a file over 2GB.

 SY> A99:

 SY> If your GNU system supports 64-bit file offset then please try the
 SY> following configuration.

 SY> $ ./configure CFLAGS='-D_LARGEFILE64_SOURCE
 SY> -D_FILE_OFFSET_BITS=64'
 SY> ---------------------------------------------------------------------

For me it seems ok

 SY> I have two questions.  o Is there a method of checking for support
 SY> 64-bit offset?  o Is the _LARGEFILE64_SOURCE requred for GLOBAL?

I'm not sure about global, but it definitely need for db-related code.

For autoconf check you can use for example following macro:

http://autoconf-archive.cryp.to/rssh_check_off64_t.html

 >> P.S. why are you using your own copy of libdb (old version) instead of
 >> system-wide? the same for the sys/queue.h header file

 SY> Because there are many libdbs, and they are not compatible each other.

ok

-- 
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/           http://xtalk.msk.su/~ott/
http://alexott-ru.blogspot.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]