Hello,
I stumble on another challenge during the software development of a small
application which I derive from the Spirit tutorial on my openSUSE system.
http://sourceforge.net/mailarchive/message.php?msg_id=31489573
I observe that a source file is accepted by my compilers in one build
configuration. But error messages are displayed if I switch to the build
configuration where the relevant source code is directly included by header
files. Would you like to share any ideas on approaches to resolve this issue?
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cmake_minimum_required(VERSION 2.6)
if(DEFINED CMAKE_BUILD_TYPE)
#set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} CACHE STRING
# "Choose the build type: None, Debug, Release, RelWithDebInfo or MinSizeRel.")
else()
# Set the preferred default type for the software generation here.
set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING
"Choose the build type: None, Debug, Release, RelWithDebInfo or MinSizeRel.")
endif()
project("boot_command-Spirit")
find_package(Boost 1.49 REQUIRED)
set("${CMAKE_PROJECT_NAME}_VERSION_MAJOR" 0)
set("${CMAKE_PROJECT_NAME}_VERSION_MINOR" 1)
This file has been truncated. show original
Regards,
Markus
I really have no idea what you are asking and your code looks quite
complex. Can you show a small self-contained example?
Ian
I really have no idea what you are asking and your code looks quite complex.
My issue deals with the separation of implementation details for classes into
specific source files.
https://github.com/elfring/boot_parameters/blob/d65ffb55c0643aac8cb02126066252e898b12bf9/boost/parser_def.h#L22
Can you show a small self-contained example?
I have not constructed a different one so far which can reproduce my
difficulties with the mentioned Boost Spirit/Phoenix template function "bind".
Regards,
Markus