blob: 1c053269d97f7248933479a283b10f17377ec8e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- a/src/cmd/tpc.t
+++ b/src/cmd/tpc.t
@@ -1342,6 +1342,10 @@ procedure CompileC (cFileName : string, var s : string, var status : int)
i += 1
end if
+ % Use C standard that allows C++-style comments
+ tArgs(i) := "-std=gnu89"
+ i += 1
+
% ignore warnings from C compiler
tArgs(i) := "-w"
i += 1
|