- Description has changed:
Diff:
~~~~
~~~~
- **Needs**: -->
- **Patch**: new --> review
- **Comment**:
Passes make, make test-baseline and a full make doc.
---
** [issues:#5720] Fix C++11 option**
**Status:** Started
**Created:** Sat Feb 01, 2020 06:13 AM UTC by Masamichi Hosoda
**Last Updated:** Sat Feb 01, 2020 06:13 AM UTC
**Owner:** Masamichi Hosoda
Fix C++11 option
On the Linux environments,
`M_PI` definition can be used with the `-std=c++11` option.
However, on the other environments (e.g. MinGW),
`M_PI` cannot be used with the `-std=c++11` option.
Originally `-std=c++11` is an option to follow the strict C++ standard,
and cannot use `M_PI` that is not in the C++ standard.
To use `M_PI`, `-std=gnu++11` instead of `-std=c++11` is required.
Also, the current default for g++ is `-std=gnu++14`, not `-std=c++14`.
http://codereview.appspot.com/579270051
---
Sent from sourceforge.net because testlilyissues-a...@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Testlilyissues-auto mailing list
testlilyissues-a...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto