diff --git a/Changes b/Changes index 26f32fe69..c7237a571 100644 --- a/Changes +++ b/Changes @@ -11,6 +11,8 @@ indicates the contributor was also the author of the fix; Thanks! **** Fix tristates causing "Assigned pin is neither...". [by Lane Brooks] +**** Fix compiler errors under Fedora release candidate 11. [Chitlesh Goorah] + * Verilator 3.710 2009/05/19 ** Verilator is now licensed under LGPL v3 and/or Artistic v2.0. diff --git a/src/V3PreProc.cpp b/src/V3PreProc.cpp index 84856dca4..4f76ba8be 100644 --- a/src/V3PreProc.cpp +++ b/src/V3PreProc.cpp @@ -990,7 +990,7 @@ int V3PreProcImp::getToken() { string V3PreProcImp::getline() { // Get a single line from the parse stream. Buffer unreturned text until the newline. if (isEof()) return ""; - char* rtnp; + const char* rtnp; bool gotEof = false; while (NULL==(rtnp=strchr(m_lineChars.c_str(),'\n')) && !gotEof) { int tok = getToken();