aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-09-18 23:26:23 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-09-18 23:26:23 +0100
commit1507cc01a5b32842febe1cd2e75451adab6d4dc7 (patch)
tree37b9ce260845f46c556d3f22e1b105c750b7ef5d /src/main.cpp
parent5d14df4112368617b9b534745f8ce8934be74ffd (diff)
parent4d2854f5618c8e6a09bc2ec7bf969eccb01f93c2 (diff)
Merge branch 'master' of https://github.com/odin-lang/Odin
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index bbaf6f23f..be0ea8b82 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3629,6 +3629,11 @@ int main(int arg_count, char const **arg_ptr) {
// print_usage_line(0, "%.*s 32-bit is not yet supported for this platform", LIT(args[0]));
// return 1;
// }
+
+ // Warn about Windows i386 thread-local storage limitations
+ if (build_context.metrics.arch == TargetArch_i386 && build_context.metrics.os == TargetOs_windows) {
+ gb_printf_err("Warning: Thread-local storage is disabled on Windows i386.\n");
+ }
// Check chosen microarchitecture. If not found or ?, print list.
bool print_microarch_list = true;