forked from qt-creator/qt-creator
Compile with stricter GCC and glibc
This commit is contained in:
@@ -43,9 +43,11 @@
|
|||||||
|
|
||||||
# include <stdio.h>
|
# include <stdio.h>
|
||||||
# include <sys/ioctl.h>
|
# include <sys/ioctl.h>
|
||||||
|
# include <sys/types.h>
|
||||||
# include <termios.h>
|
# include <termios.h>
|
||||||
# include <errno.h>
|
# include <errno.h>
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum { TimerInterval = 100 };
|
enum { TimerInterval = 100 };
|
||||||
|
|||||||
@@ -31,6 +31,10 @@
|
|||||||
#ifndef STANDALONE_RUNNER
|
#ifndef STANDALONE_RUNNER
|
||||||
#include "gdbengine.h"
|
#include "gdbengine.h"
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef Q_OS_WIN
|
||||||
|
# include <sys/types.h>
|
||||||
|
# include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#define TrkCB(s) TrkCallback(this, &TrkGdbAdapter::s)
|
#define TrkCB(s) TrkCallback(this, &TrkGdbAdapter::s)
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
#include "trkutils.h"
|
#include "trkutils.h"
|
||||||
|
#include <ctype.h>
|
||||||
|
|
||||||
#include <QtCore/QDebug>
|
#include <QtCore/QDebug>
|
||||||
|
|
||||||
|
|||||||
@@ -47,6 +47,7 @@
|
|||||||
# include <termios.h>
|
# include <termios.h>
|
||||||
# include <errno.h>
|
# include <errno.h>
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum { TimerInterval = 100 };
|
enum { TimerInterval = 100 };
|
||||||
|
|||||||
Reference in New Issue
Block a user