From 9cfb5e58a6a55b2f87027e7b378001f3f3768423 Mon Sep 17 00:00:00 2001 From: albert-github Date: Sun, 25 Oct 2020 19:01:18 +0100 Subject: Incorrect handling of string with spaces and no quotes Correcting some (Cygwin) compilation warnings / errors --- addon/doxywizard/config_doxyw.l | 2 +- addon/doxywizard/doxywizard.h | 6 +++--- src/configimpl.l | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/addon/doxywizard/config_doxyw.l b/addon/doxywizard/config_doxyw.l index db7b05a..ccebfc4 100644 --- a/addon/doxywizard/config_doxyw.l +++ b/addon/doxywizard/config_doxyw.l @@ -80,7 +80,7 @@ static const char *stateToString(int state); #undef YY_INPUT #define YY_INPUT(buf,result,max_size) result=yyread(buf,max_size); -static yy_size_t yyread(char *buf,int maxSize) +static yy_size_t yyread(char *buf,yy_size_t maxSize) { // no file included if (g_includeStack.isEmpty()) diff --git a/addon/doxywizard/doxywizard.h b/addon/doxywizard/doxywizard.h index eadd51b..5e9254c 100755 --- a/addon/doxywizard/doxywizard.h +++ b/addon/doxywizard/doxywizard.h @@ -42,9 +42,9 @@ class MainWindow : public QMainWindow QString configFileName() const { return m_fileName; } void updateTitle(); // access routines for outputLog pane - void MainWindow::outputLogStart(); - void MainWindow::outputLogText(QString text); - void MainWindow::outputLogFinish(); + void outputLogStart(); + void outputLogText(QString text); + void outputLogFinish(); public slots: void manual(); diff --git a/src/configimpl.l b/src/configimpl.l index d7fcdf1..d4bc360 100644 --- a/src/configimpl.l +++ b/src/configimpl.l @@ -514,7 +514,6 @@ static QCString g_yyFileName; static QCString g_tmpString; static QCString g_cmd; static QCString *g_string=0; -static bool *g_bool=0; static StringVector *g_list=0; static int g_lastState; static QCString g_elemStr; -- cgit v0.12