Opened 12 years ago

Closed 12 years ago

#4984 closed Bugs (fixed)

Bug in spirit

Reported by: dix75@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: spirit
Version: Boost 1.45.0 Severity: Problem
Keywords: Cc:

Description

I have a problem. When compile example
"boost/libs/spirit/example/qi/num_list1.cpp"
Error log:
make[1]: Выход из каталога `/home/dix/Projects/Lythos/Test'

from /usr/local/include/boost/spirit/home/qi/binary.hpp:14,[[BR]] from /usr/local/include/boost/spirit/home/qi.hpp:18,[[BR]] from /usr/local/include/boost/spirit/include/qi.hpp:16,[[BR]] from main.cpp:169:[[BR]]

In file included from /usr/local/include/boost/spirit/home/qi/binary/binary.hpp:16:0,[[BR]] /usr/local/include/boost/spirit/home/support/detail/endian.hpp:22:36: fatal error: boost/integer/endian.hpp: Нет такого файла или каталога
compilation terminated.
make[2]: * [build/Debug/GNU-Linux-x86/main.o] Ошибка 1
make[1]:
* [.build-conf] Ошибка 2
make: * [.build-impl] Ошибка 2

OS: Linux (Kubuntu 10.10 x64)

Change History (4)

comment:1 by anonymous, 12 years ago

When i changed the file /usr/local/include/boost/spirit/home/support/detail/endian.hpp

it's worked

#if BOOST_VERSION >= 104500
#include <boost/spirit/home/support/detail/integer/endian.hpp>
#else
#include <boost/spirit/home/support/detail/integer/endian.hpp>
#endif

But this is wrong

comment:2 by Steven Watanabe, 12 years ago

Component: Nonespirit
Owner: set to Joel de Guzman

comment:3 by Hartmut Kaiser, 12 years ago

Is this still an issue?

comment:4 by Hartmut Kaiser, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.