purduesigbots / pros2

Source code for PROS kernel 2: open source C development for the VEX Cortex microcontroller
https://pros.cs.purdue.edu
Mozilla Public License 2.0
2 stars 1 forks source link

Compiler Error with solution to #5 C++ newlib compatibility #2

Open Octogonapus opened 7 years ago

Octogonapus commented 7 years ago

Expected Behavior:

Including tuple before or after including API.h should not cause any compiler errors

Actual Behavior:

If tuple is included after API.h a compiler error is thrown: https://hastebin.com/vubolicumu.php

Steps to reproduce:

Include C++ header tuple before PROS header API.h

System information:

Kernel Version: 2.12.0

Additional Information

If I comment out these lines: https://hastebin.com/efodegaduy.cpp Then the error goes away and I can include tuple and API.h in whatever order I want. Tagging regression: #5