Re: [Boost-bugs] [Boost C++ Libraries] #4008: Segfault in program_options::parse_command_line when compiled with -fshort-enums

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4008: Segfault in program_options::parse_command_line when compiled with -fshort-enums
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-03-14 22:00:47


#4008: Segfault in program_options::parse_command_line when compiled with -fshort-
enums
----------------------------------------------------------+-----------------
 Reporter: Severin Kacianka <severin@…> | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: program_options
  Version: Boost 1.42.0 | Severity: Showstopper
 Keywords: |
----------------------------------------------------------+-----------------

Comment(by vladimir_prus):

 I believe that -fshort-enums changes class layout. Therefore, all modules
 in your program should be built with the same value of that option. Do you
 still get the crash if you rebuild Boost with that option?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4008#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC