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: Shigio YAMAGUCHI
Subject: Re: crash when parsing boost c++ headers
Date: Fri, 23 Jan 2009 21:20:10 +0900

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"

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

---------------------------------------------------------------------
Q99:

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

$ gtags
gtags: cannot write to database.
$ _

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

A99:

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

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

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

> 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

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

--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

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