|
Boost Users : |
From: Robert Schulz (robert_at_[hidden])
Date: 2007-07-23 18:46:41
Hi!
I fail to use any yet tried example of the interprocess
here comes a log trying to compile doc_vectorstream.cpp from the HEAD
revision of the cvs
( fetched using
cvs -z3 -d:pserver:anonymous_at_[hidden]:/cvsroot/boost co
-P boost/
)
there seem to miss a Type 'create_only' !?
the definition of the former enum
boost::interprocess::detail::create_enum_t
ha vanished in cvs from 1.7 to 1.8 in detail/utilities.hpp ?
This header is not listed in the documentation on
http://igaztanaga.drivehq.com/interprocess/index.html
:(
Can i somewhere get a working snapshot of the headers?
I missed tagging in the boost cvs?
Many thanks for any help!!!
Robert
robert_at_sandra-laptop:~/opt$ g++ --version
g++ (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
**** Build of configuration Debug for project shmem ****
make LANG=C all
Building file: ../atest/doc_vectorstream.cpp
Invoking: GCC C++ Compiler
g++ -I"/home/robert/opt/boost/boost" -O0 -g3 -Wall -c -fmessage-length=0
-MMD -MP -MF"atest/doc_vectorstream.d" -MT"atest/doc_vectorstream.d"
-o"atest/doc_vectorstream.o" "../atest/doc_vectorstream.cpp"
In file included
from /home/robert/opt/boost/boost/boost/interprocess/managed_shared_memory.hpp:21,
from ../atest/doc_vectorstream.cpp:16:
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_memory_impl.hpp:25:48: warning: boost/interprocess/creation_tags.hpp: No such file or directory
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_memory_impl.hpp:691: error: 'boost::interprocess::detail::create_enum_t' has not been declared
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_memory_impl.hpp:708: error: 'create_enum_t' in namespace 'boost::interprocess::detail' does not name a type
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_memory_impl.hpp: In constructor 'boost::interprocess::detail::create_open_func<BasicManagedMemoryImpl>::create_open_func(BasicManagedMemoryImpl*, int)':
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_memory_impl.hpp:692: error: class 'boost::interprocess::detail::create_open_func<BasicManagedMemoryImpl>' does not have any field named 'm_type'
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_memory_impl.hpp: In member function 'bool boost::interprocess::detail::create_open_func<BasicManagedMemoryImpl>::operator()(void*, size_t, bool) const':
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_memory_impl.hpp:696: error: 'm_type' was not declared in this scope
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_memory_impl.hpp:696: error: 'DoOpen' is not a member of 'boost::interprocess::detail'
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_memory_impl.hpp:697: error: 'DoCreate' is not a member of 'boost::interprocess::detail'
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp: At global scope:
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:55: error: expected `)' before ',' token
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:70: error: expected `)' before ',' token
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:85: error: expected `)' before ',' token
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:101: error: expected `)' before ',' token
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:118: error: expected `)' before ',' token
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:134: error: expected `)' before ',' token
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:261: error: 'create_enum_t' is not a member of 'boost::interprocess::detail'
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:261: error: expected primary-expression before 'size'
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:262: error: expected primary-expression before 'mode'
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:262: error: expected primary-expression before 'const'
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:263: error: expected primary-expression before 'construct_func'
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:263: error: variable or field 'priv_open_or_create' declared void
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:263: error: ISO C++ forbids initialization of member 'priv_open_or_create'
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:263: error: making 'priv_open_or_create' static
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:263: error: ISO C++ forbids in-class initialization of non-const static member 'priv_open_or_create'
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:263: error: 'priv_open_or_create' declared as an 'inline' field
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:263: error: template declaration of 'int boost::interprocess::detail::priv_open_or_create'
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp: In static member function 'static void boost::interprocess::detail::managed_open_or_create_impl<DeviceAbstraction, FileBased>::create_device(DeviceAbstraction&, const char*, size_t, boost::interprocess::detail::false_)':
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:248: error: 'create_only' was not declared in this scope
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp: In static member function 'static void boost::interprocess::detail::managed_open_or_create_impl<DeviceAbstraction, FileBased>::create_device(DeviceAbstraction&, const char*, size_t, boost::interprocess::detail::true_)':
/home/robert/opt/boost/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp:255: error: 'create_only' was not declared in this scope
/home/robert/opt/boost/boost/boost/interprocess/shared_memory_object.hpp: At global scope:
/home/robert/opt/boost/boost/boost/interprocess/shared_memory_object.hpp:59: error: expected `)' before ',' token
/home/robert/opt/boost/boost/boost/interprocess/shared_memory_object.hpp:65: error: expected `)' before ',' token
/home/robert/opt/boost/boost/boost/interprocess/shared_memory_object.hpp:70: error: expected `)' before ',' token
/home/robert/opt/boost/boost/boost/interprocess/shared_memory_object.hpp:135: error: 'boost::interprocess::detail::create_enum_t' has not been declared
/home/robert/opt/boost/boost/boost/interprocess/shared_memory_object.hpp:273: error: 'boost::interprocess::shared_memory_object::priv_open_or_create' declared as an 'inline' variable
/home/robert/opt/boost/boost/boost/interprocess/shared_memory_object.hpp:273: error: 'bool boost::interprocess::shared_memory_object::priv_open_or_create' is not a static member of 'class boost::interprocess::shared_memory_object'
/home/robert/opt/boost/boost/boost/interprocess/shared_memory_object.hpp:273: error: 'create_enum_t' is not a member of 'boost::interprocess::detail'
/home/robert/opt/boost/boost/boost/interprocess/shared_memory_object.hpp:274: error: expected primary-expression before 'const'
/home/robert/opt/boost/boost/boost/interprocess/shared_memory_object.hpp:275: error: expected primary-expression before 'mode'
/home/robert/opt/boost/boost/boost/interprocess/shared_memory_object.hpp:275: error: initializer expression list treated as compound expression
/home/robert/opt/boost/boost/boost/interprocess/shared_memory_object.hpp:276: error: expected ',' or ';' before '{' token
/home/robert/opt/boost/boost/boost/interprocess/managed_shared_memory.hpp:68: error: expected `)' before 'create_only'
/home/robert/opt/boost/boost/boost/interprocess/managed_shared_memory.hpp:79: error: expected `)' before 'open_or_create'
/home/robert/opt/boost/boost/boost/interprocess/managed_shared_memory.hpp:90: error: expected `)' before 'open_only'
../atest/doc_vectorstream.cpp: In function 'int main()':
../atest/doc_vectorstream.cpp:37: error: 'create_only' was not declared
in this scope
make: *** [atest/doc_vectorstream.o] Fehler 1
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net