Re: [Boost-bugs] [Boost C++ Libraries] #8806: compilation error for operations on PolygonSet with double numbers

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8806: compilation error for operations on PolygonSet with double numbers
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-06 23:22:53


#8806: compilation error for operations on PolygonSet with double numbers
-----------------------------------------------+---------------------------
  Reporter: Zhengdong Zhang <zhangzdfaing@…> | Owner: asydorchuk
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: polygon
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords: Polygon,
                                               | double
-----------------------------------------------+---------------------------

Comment (by asydorchuk):

 The file doesn't compile because the return type of the main function is
 double. Please change it to int.

 Here is what I get while compiling the file with clang++:
 polygon_set_usage.cpp:13:1: error: 'main' must return 'int'

 I am going to mark this ticket as invalid.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8806#comment:2>
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:14 UTC