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 an include to fix a 3ds build failure on Windows. #462

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mrhappyasthma
Copy link
Contributor

Let me know if there's some more appropriate fix. But this seems to have resolved the 3ds build for me.

M:/GitHub/Checkpoint/3ds/source/spi.cpp:47:13: error: 'vector' in namespace 'std' does not name a template type
   47 | static std::vector<u32> knownJEDECs = {0x204012, 0x621600, 0x204013, 0x621100, 0x204014, 0x202017, 0x204017, 0x208013};
      |             ^~~~~~
M:/GitHub/Checkpoint/3ds/source/spi.cpp:46:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
   45 | #include "spi.hpp"
  +++ |+#include <vector>
   46 |

```
M:/GitHub/Checkpoint/3ds/source/spi.cpp:47:13:
error: 'vector' in namespace 'std' does not
name a template type
47 | static std::vector<u32> knownJEDECs
= {0x204012, 0x621600, 0x204013,
  0x621100, 0x204014, 0x202017,
  0x204017, 0x208013};
|             ^~~~~~
M:/GitHub/Checkpoint/3ds/source/spi.cpp:46:1:
note: 'std::vector' is defined
in header '<vector>'; did you
forget to '#include <vector>'?
45 | #include "spi.hpp"
+++ |+#include <vector>
46 |
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant