For internal messages, use <command-line> and <built-in> to match GCC.

This commit is contained in:
Wilson Snyder
2019-06-29 07:39:34 -04:00
parent ef02678305
commit ba9af4aabf
7 changed files with 110 additions and 111 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ protected:
s_preprocp = V3PreProc::createPreProc(cmdfl);
s_preprocp->debug(debug());
// Default defines
FileLine* prefl = new FileLine(FileLine::internalDefineFilename(), 0);
FileLine* prefl = new FileLine(FileLine::builtInFilename(), 0);
s_preprocp->defineCmdLine(prefl, "VERILATOR", "1"); // LEAK_OK
s_preprocp->defineCmdLine(prefl, "verilator", "1"); // LEAK_OK
s_preprocp->defineCmdLine(prefl, "verilator3", "1"); // LEAK_OK