git-svn-id: svn://db.shs.com.ru/pip@360 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2017-04-14 13:18:53 +00:00
parent dd25e8852c
commit db1410d918
3 changed files with 4 additions and 4 deletions

View File

@@ -480,7 +480,7 @@ inline PIByteArray & operator <<(PIByteArray & ba, const PIConsole::Variable & v
inline PIByteArray & operator >>(PIByteArray & ba, PIConsole::Variable & v) {ba >> v.name >> v.id >> (int & )v.format >> v.type >> v.size >> v.bitFrom >> v.bitCount; return ba;}
inline PIByteArray & operator <<(PIByteArray & ba, const PIConsole::Column & v) {ba << (int)v.alignment << v.variables; return ba;}
inline PIByteArray & operator >>(PIByteArray & ba, PIConsole::Column & v) {ba >> (int & )v.alignment >> v.variables; return ba;}
inline PIByteArray & operator >>(PIByteArray & ba, PIConsole::Column & v) {int a; ba >> a >> v.variables; v.alignment = (PIConsole::Alignment)a; return ba;}
inline PIByteArray & operator <<(PIByteArray & ba, const PIConsole::Tab & v) {ba << v.name << v.status << (uchar)v.key << v.columns; return ba;}
inline PIByteArray & operator >>(PIByteArray & ba, PIConsole::Tab & v) {ba >> v.name >> v.status >> (uchar&)v.key >> v.columns; return ba;}

View File

@@ -141,10 +141,7 @@
# endif
# ifdef MAC_OS
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
# else
//# pragma GCC diagnostic ignored "-Waggressive-loop-optimizations"
# endif
# pragma GCC diagnostic ignored "-Wstrict-aliasing"
# endif
# ifdef ANDROID
# pragma GCC diagnostic ignored "-Wunused-parameter"

View File

@@ -60,6 +60,9 @@
# define _stat_call_ stat64
# define _stat_link_ lstat64
#endif
#ifdef CC_GCC
# include <unistd.h>
#endif
/*! \class PIFile