Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workaround for msvc-12 faulty array initialization. #538

Merged
merged 1 commit into from Dec 11, 2018

Conversation

awulkiew
Copy link
Member

This is a workaround for the following error:

boost/geometry/srs/projections/par_data.hpp(92) : error C2536: 'boost::geometry::srs::detail::towgs84<T>::boost::geometry::srs::detail::towgs84<T>::m_data' : cannot specify explicit initializer for arrays

I added core/config.hpp file allowing us to add defines conveniently.

@awulkiew awulkiew added this to the 1.70 milestone Dec 10, 2018
Copy link
Collaborator

@barendgehrels barendgehrels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks


#ifndef BOOST_GEOMETRY_CORE_CONFIG_HPP
#define BOOST_GEOMETRY_CORE_CONFIG_HPP

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, I've added this file too - for removing rescaling.
Your's will be merged earlier so I will adapt/extend it

@awulkiew awulkiew merged commit b11ab4c into boostorg:develop Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants