We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa32e7a commit cb0f3a7Copy full SHA for cb0f3a7
src/units/dummy.cpp
@@ -2,3 +2,11 @@
2
// otherwise units does not compile reliably on all platforms
3
// and the pros conductor will not let you create a template if there is
4
// no .a file
5
+
6
+// a global, volatile variable in an anonymous namespace
7
+// its put in an anonymous namespace to guarantee that there won't be any
8
+// linker errors
9
+// 10/10 codebase (i don't feel like PRing a fix to PROS, make is scary)
10
+namespace {
11
+volatile char dummy_var;
12
+}
0 commit comments