boostorg / boostorg/polygon

Error in voronoi_diagram.hpp with recent Microsoft compiler

Open
#40 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
70
Forks
75
PR merge metrics
No merged PRs in 30d

Description

The current MS Visual Studio (v16.6.0) compiler reports an error in voronoi_diagram.hpp:
```
boost/polygon/voronoi_diagram.hpp(266,17): error C7626: unnamed class used in typedef name cannot declare members other than non-static data members, member enumerations, or member classe
```
See https://docs.microsoft.com/en-us/cpp/overview/cpp-conformance-improvements?view=vs-2019#unnamed-classes-in-typedef-declarations

As suggested in the link above, giving an arbitrary name to the struct would eliminate the error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.