Opened 17 years ago

Closed 17 years ago

#436 closed Bugs (Duplicate)

Regex build fails under VC8 Beta 2 x64 cross tools

Reported by: nobody Owned by: John Maddock
Milestone: Component: regex
Version: None Severity:
Keywords: Cc:

Description

VC 8 Beta 2, cross tools for x64.
Regex build fails with the error below. Removing MSVC 
workaround fixes the build problem.

C:\My Downloads\new56
\boost\boost/regex/v4/basic_regex_parser.hpp(80) : 
error C2027: use of undefined 
type 'boost::STATIC_ASSERTION_FAILURE<x>'
        with
        [
            x=false
        ]
        C:\My Downloads\new56
\boost\boost/regex/v4/basic_regex.hpp(94) : see 
reference to class template 
instantiation 'boost::re_detail::basic_regex_parser<charT
,traits>' being compiled
        with
        [
            charT=char,
            traits=boost::regex_traits<char>
        ]
        C:\My Downloads\new56
\boost\boost/regex/v4/basic_regex.hpp(92) : while 
compiling class template member function 'void 
boost::re_detail::basic_regex_implementation<charT,trait
s>::assign(const charT *,const charT 
*,boost::re_detail::basic_regex_implementation<charT,tr
aits>::flag_type)'
        with
        [
            charT=char,
            traits=boost::regex_traits<char>
        ]
        C:\My Downloads\new56
\boost\boost/regex/v4/basic_regex.hpp(326) : see 
reference to class template 
instantiation 'boost::re_detail::basic_regex_implementati
on<charT,traits>' being compiled
        with
        [
            charT=char,
            traits=boost::regex_traits<char>
        ]
        C:\My Downloads\new56
\boost\boost/regex/v4/basic_regex.hpp(325) : while 
compiling class template member function 'unsigned 
long boost::basic_regex<charT,traits>::getloc(void) 
const'
        with
        [
            charT=char,
            traits=boost::regex_traits<char>
        ]
        C:\My Downloads\new56
\boost\boost/regex/v4/instances.hpp(75) : see reference 
to class template 
instantiation 'boost::basic_regex<charT,traits>' being 
compiled
        with
        [
            charT=char,
            traits=boost::regex_traits<char>
        ]

    CALL "C:\Program Files\Microsoft Visual Studio 8
\Common7\Tools\..\..\VC\bin\x86_amd64
\\vcvarsx86_amd64.bat" >nul 
    "C:\Program Files\Microsoft Visual Studio 8
\Common7\Tools\..\..\VC\bin\x86_amd64\cl"  /Zm800 -
nologo /EHsc -c  -DBOOST_REGEX_CONFIG_INFO=1 -
DBOOST_REGEX_DYN_LINK=1  /Z7 /Od /Ob0 /EHsc /
GR /MDd   -I"bin\boost\libs\regex\build"   -I"C:\My 
Downloads\new56\boost"   -
Fo"bin\boost\libs\regex\build\boost_regex.dll\vc-8_0-
x86_amd64\debug\threading-multi\instances.obj"  -
Tp"C:\My Downloads\new56
\boost\libs\regex\build\../src/instances.cpp" 

There are also a huge number of warnings like:

C:\My Downloads\new56
\boost\boost/regex/v4/regex_traits_defaults.hpp(23) : 
warning C4103: 'c:\my downloads\new56
\boost\boost\regex\v4\regex_traits_defaults.hpp' : 
alignment changed after including header, may be due 
to missing #pragma pack(pop)

Submitted by: lexey@isa.ru

Change History (1)

comment:1 by John Maddock, 17 years ago

Status: assignedclosed
Note: See TracTickets for help on using tickets.