[Boost-bugs] [Boost C++ Libraries] #1575: boost_bzip2 contains the symbol "main"

Subject: [Boost-bugs] [Boost C++ Libraries] #1575: boost_bzip2 contains the symbol "main"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-17 13:07:55


#1575: boost_bzip2 contains the symbol "main"
---------------------------------------------------------------+------------
 Reporter: Takeshi Mouri <takeshi.mouri.net_at_[hidden]> | Owner: turkanis
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: iostreams
  Version: Boost 1.34.1 | Severity: Problem
 Keywords: |
---------------------------------------------------------------+------------
 The sources of boost_bzip2 contain mk251.c.
 This file is for testing and contains main() function.

 Mostly this is OK.
 But when we use it with -mwindows option on cygwin or MinGW, g++ links to
 the main() in boost_bzip2.
 So please remove mk251.c from the sources.

 See also:
 http://lists.boost.org/Archives/boost/2007/04/120102.php

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1575>
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:49:57 UTC