Commit ca34e0c0 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Compile with gcc -pedantic.

parent 78d73968
...@@ -1287,7 +1287,7 @@ public: ...@@ -1287,7 +1287,7 @@ public:
virtual unsigned firstToken() const; virtual unsigned firstToken() const;
virtual unsigned lastToken() const; virtual unsigned lastToken() const;
virtual ExpressionStatementAST *clone(MemoryPool *pool) const;; virtual ExpressionStatementAST *clone(MemoryPool *pool) const;
protected: protected:
virtual void accept0(ASTVisitor *visitor); virtual void accept0(ASTVisitor *visitor);
......
...@@ -60,8 +60,6 @@ ...@@ -60,8 +60,6 @@
#include <string> #include <string>
#include <cassert> #include <cassert>
#include <QDebug>
using namespace CPlusPlus; using namespace CPlusPlus;
CheckDeclaration::CheckDeclaration(Semantic *semantic) CheckDeclaration::CheckDeclaration(Semantic *semantic)
......
...@@ -787,7 +787,7 @@ public: ...@@ -787,7 +787,7 @@ public:
NonAtomic = 1 << 7, NonAtomic = 1 << 7,
WritabilityMask = ReadOnly | ReadWrite, WritabilityMask = ReadOnly | ReadWrite,
SetterSemanticsMask = Assign | Retain | Copy, SetterSemanticsMask = Assign | Retain | Copy
}; };
public: public:
......
QT -= core gui QT -= core gui
TARGET = plain-c++ TARGET = plain-c++
DEFINES += CPLUSPLUS_WITHOUT_QT
macx { macx {
CONFIG -= app_bundle CONFIG -= app_bundle
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment