SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,17 @@
C++11 ambiguity
Index: v2cc/v2cc-util.h
--- v2cc/v2cc-util.h.orig
+++ v2cc/v2cc-util.h
@@ -448,9 +448,9 @@ emit_posinfo(pIIR_PosInfo pi, string &str, pIIR_PosInf
pIIR_PosInfo_TextFile pit = pIIR_PosInfo_TextFile(pi);
// Emit line number and file name
- str += "#line " + to_string(pit->line_number);
+ str += "#line " + ::to_string(pit->line_number);
if (last_pos == NO_SOURCE_LINE)
- str += " \"" + to_string(pit->file_name) + "\"\n";
+ str += " \"" + ::to_string(pit->file_name) + "\"\n";
else
str += "\n";