hi
I use:
gcc-3.0.3 qt-3.0.1 solaris 8 mysql-3.23.47
all went well until the file CSplTable.cpp
cheers Manuel
-----8<------------------------------
g++-3.0.3 -c -Wall -W -g -D_REENTRANT -DQT_DLL -DQT_THREAD_SUPPORT
-Iinclude -Iinclude/CSqlEditor -
I/usr/pack/mysql-3.23.47-mo/include/mysql
-I/usr/pack/qt-3.0.1-mo/sun4m-sun-solaris8/include -I/usr/
openwin/include -Imoc/
-I/usr/pack/qt-3.0.1-mo/sun4m-sun-solaris8/mkspecs/default -o
tmp/CSqlTable.o
src/CSqlTable.cpp
In file included from include/CMyWindow.h:24,
from include/CApplicationWindow.h:34,
from src/CSqlTable.cpp:19:
include/CMessageWindow.h:190:26: warning: no newline at end of file
In file included from include/CConnectionDialog.h:31,
from include/CServerItem.h:28,
from include/CDatabaseTree.h:33,
from include/CConsoleWindow.h:42,
from include/CApplicationWindow.h:35,
from src/CSqlTable.cpp:19:
include/CConfigDialog.h:84:24: warning: no newline at end of file
In file included from include/CConnectionDialog.h:33,
from include/CServerItem.h:28,
from include/CDatabaseTree.h:33,
from include/CConsoleWindow.h:42,
from include/CApplicationWindow.h:35,
from src/CSqlTable.cpp:19:
include/CMySQLConnection.h:170:6: warning: no newline at end of
file
In file included from include/CShowServerProperties.h:22,
from include/CServerItem.h:30,
from include/CDatabaseTree.h:33,
from include/CConsoleWindow.h:42,
from include/CApplicationWindow.h:35,
from src/CSqlTable.cpp:19:
include/CListViewProperties.h:75:31: warning: no newline at end of
file
In file included from include/CFieldEditorWindow.h:31,
from include/CSqlTable.h:29,
from include/CAdministrationPanel.h:46,
from include/CServerAdministrationItem.h:30,
from include/CDatabaseTree.h:34,
from include/CConsoleWindow.h:42,
from include/CApplicationWindow.h:35,
from src/CSqlTable.cpp:19:
include/CTextEditor.h:44:6: warning: no newline at end of file
src/CSqlTable.cpp:118: ISO C++ does not permit `QTableItem::RTTI'
to be defined
as `CEllipseTableItem::RTTI'
src/CSqlTable.cpp:121: no `int CEllipseTableItem::rtti() const'
member function
declared in class `CEllipseTableItem'
src/CSqlTable.cpp:164: cannot declare member function
`CCheckTableItem::CCheckTableItem' within `CEllipseTableItem'
src/CSqlTable.cpp:164: syntax error before `:' token
src/CSqlTable.cpp:169: cannot declare member function
`CCheckTableItem::createEditor' within `CEllipseTableItem'
src/CSqlTable.cpp:169: syntax error before `{' token
src/CSqlTable.cpp:171: invalid use of `this' at top level
src/CSqlTable.cpp:171: ISO C++ forbids declaration of
`qt_check_pointer' with
no type
src/CSqlTable.cpp:171: `int qt_check_pointer' redeclared as
different kind of
symbol
/usr/pack/qt-3.0.1-mo/sun4m-sun-solaris8/include/qglobal.h:784:
previous
declaration of `bool qt_check_pointer(bool, const char*, int)'
src/CSqlTable.cpp:171: initializer list being treated as compound
expression
src/CSqlTable.cpp:172: syntax error before `->' token
src/CSqlTable.cpp:173: syntax error before `->' token
src/CSqlTable.cpp:174: syntax error before `->' token
src/CSqlTable.cpp:175: `cb' was not declared in this scope
src/CSqlTable.cpp:175: cannot call member function `QTable*
QTableItem::table()
const' without object
src/CSqlTable.cpp:175: ISO C++ forbids declaration of `connect'
with no type
src/CSqlTable.cpp:175: cannot declare member `QObject::connect'
within
`CEllipseTableItem'
src/CSqlTable.cpp:175: invalid declarator
src/CSqlTable.cpp:176: parse error before `return'
src/CSqlTable.cpp:180: cannot declare member function
`CCheckTableItem::setContentFromEditor' within
`CEllipseTableItem'
src/CSqlTable.cpp:180: syntax error before `{' token
src/CSqlTable.cpp:184: ISO C++ forbids declaration of `checked'
with no type
src/CSqlTable.cpp:184: `cb' was not declared in this scope
src/CSqlTable.cpp:185: parse error before `}' token
src/CSqlTable.cpp:189: cannot declare member function
`CCheckTableItem::paint'
within `CEllipseTableItem'
src/CSqlTable.cpp:189: syntax error before `{' token
src/CSqlTable.cpp:194: `cr' was not declared in this scope
src/CSqlTable.cpp:195: `cr' was not declared in this scope
src/CSqlTable.cpp:196: cannot call member function `QTable*
QTableItem::table()
const' without object
src/CSqlTable.cpp:197: cannot call member function `QTable*
QTableItem::table()
const' without object
src/CSqlTable.cpp:198: `cg' was not declared in this scope
src/CSqlTable.cpp:199: syntax error before `.' token
src/CSqlTable.cpp:200: ISO C++ forbids declaration of `table' with
no type
src/CSqlTable.cpp: In function `int table()':
src/CSqlTable.cpp:200: parse error before `->' token
src/CSqlTable.cpp:204: ISO C++ forbids declaration of `w' with no
type
src/CSqlTable.cpp:204: redefinition of `int w'
src/CSqlTable.cpp:194: `int w' previously defined here
src/CSqlTable.cpp:205: parse error before `if'
src/CSqlTable.cpp:209: syntax error before `->' token
src/CSqlTable.cpp:213: cannot declare member function
`CCheckTableItem::setChecked' within `CEllipseTableItem'
src/CSqlTable.cpp:213: syntax error before `{' token
src/CSqlTable.cpp:215: ISO C++ forbids declaration of `table' with
no type
src/CSqlTable.cpp: In function `int table()':
src/CSqlTable.cpp:215: redefinition of `int table()'
src/CSqlTable.cpp:200: `int table()' previously defined here
src/CSqlTable.cpp: In function `int table()':
src/CSqlTable.cpp:215: parse error before `->' token
src/CSqlTable.cpp:219: cannot declare member function
`CCheckTableItem::isChecked' within `CEllipseTableItem'
src/CSqlTable.cpp:219: syntax error before `{' token
src/CSqlTable.cpp:223: cannot declare member
`CCheckTableItem::RTTI' within
`CEllipseTableItem'
src/CSqlTable.cpp:223: assignment (not initialization) in
declaration
src/CSqlTable.cpp:226: cannot declare member function
`CCheckTableItem::rtti'
within `CEllipseTableItem'
src/CSqlTable.cpp:226: syntax error before `{' token
src/CSqlTable.cpp:231: cannot declare member function
`privateCheckListItem::privateCheckListItem' within
`CEllipseTableItem'
src/CSqlTable.cpp:231: syntax error before `:' token
src/CSqlTable.cpp:234: ISO C++ forbids declaration of `setOn' with
no type
src/CSqlTable.cpp:235: ISO C++ forbids declaration of `columnID'
with no type
src/CSqlTable.cpp:235: `columnid' undeclared (first use this
function)
src/CSqlTable.cpp:235: (Each undeclared identifier is reported only
once for
each function it appears in.)
src/CSqlTable.cpp:236: parse error before `}' token
src/CSqlTable.cpp:239: cannot declare member function
`privateCheckListItem::stateChange' within `CEllipseTableItem'
src/CSqlTable.cpp:239: syntax error before `{' token
src/CSqlTable.cpp:248: cannot declare member function
`privateCSqlTableColumns::privateCSqlTableColumns' within
`CEllipseTableItem'
src/CSqlTable.cpp:248: syntax error before `:' token
src/CSqlTable.cpp:251: ISO C++ forbids declaration of
`setResizeEnabled' with
no type
src/CSqlTable.cpp:252: ISO C++ forbids declaration of
`setHorizontallyStretchable' with no type
src/CSqlTable.cpp:253: ISO C++ forbids declaration of
`setVerticallyStretchable' with no type
src/CSqlTable.cpp:254: ISO C++ forbids declaration of
`setOpaqueMoving' with no
type
src/CSqlTable.cpp:255: ISO C++ forbids declaration of
`setCloseMode' with no
type
src/CSqlTable.cpp:257: `trUtf8' undeclared (first use this
function)
src/CSqlTable.cpp:257: ISO C++ forbids declaration of `setCaption'
with no type
src/CSqlTable.cpp:259: ISO C++ forbids declaration of `Columns'
with no type
src/CSqlTable.cpp:259: invalid use of `this' in non-member function
src/CSqlTable.cpp:260: syntax error before `->' token
src/CSqlTable.cpp:261: syntax error before `->' token
src/CSqlTable.cpp:262: syntax error before `->' token
src/CSqlTable.cpp:263: syntax error before `->' token
src/CSqlTable.cpp:264: syntax error before `->' token
src/CSqlTable.cpp:265: syntax error before `->' token
src/CSqlTable.cpp:266: ISO C++ forbids declaration of `add' with no
type
src/CSqlTable.cpp:266: cannot declare member `QWhatsThis::add'
within
`CEllipseTableItem'
src/CSqlTable.cpp:266: invalid declarator
src/CSqlTable.cpp:267: ISO C++ forbids declaration of `setWidget'
with no type
src/CSqlTable.cpp:268: parse error before `}' token
src/CSqlTable.cpp:271: cannot declare member function
`privateListView::privateListView' within `CEllipseTableItem'
src/CSqlTable.cpp:271: syntax error before `:' token
src/CSqlTable.cpp:277: cannot declare member function
`privateListView::displayMenu' within `CEllipseTableItem'
src/CSqlTable.cpp:277: syntax error before `{' token
src/CSqlTable.cpp:279: `p_itemMenu' undeclared (first use this
function)
src/CSqlTable.cpp:279: ISO C++ forbids declaration of
`qt_check_pointer' with
no type
src/CSqlTable.cpp:279: redefinition of `int qt_check_pointer'
src/CSqlTable.cpp:171: `int qt_check_pointer' previously defined
here
src/CSqlTable.cpp:279: initializer list being treated as compound
expression
src/CSqlTable.cpp:280: syntax error before `->' token
src/CSqlTable.cpp:281: syntax error before `->' token
src/CSqlTable.cpp:282: `pos' undeclared (first use this function)
src/CSqlTable.cpp:283: parse error before `delete'
src/CSqlTable.cpp:285: invalid use of `this' in non-member function
src/CSqlTable.cpp:286: parse error before `for'
src/CSqlTable.cpp:286: syntax error before `.' token
src/CSqlTable.cpp:291: cannot declare member function
`privateListView::CheckBoxClicked' within `CEllipseTableItem'
src/CSqlTable.cpp:291: syntax error before `{' token
src/CSqlTable.cpp:295: cannot declare member function
`CSqlTable::CSqlTable'
within `CEllipseTableItem'
src/CSqlTable.cpp:295: syntax error before `:' token
src/CSqlTable.cpp:298: ISO C++ forbids declaration of `init' with
no type
src/CSqlTable.cpp:299: parse error before `}' token
src/CSqlTable.cpp:301: cannot declare member function
`CSqlTable::CSqlTable'
within `CEllipseTableItem'
src/CSqlTable.cpp:301: syntax error before `:' token
src/CSqlTable.cpp:304: `conn' undeclared (first use this function)
src/CSqlTable.cpp:304: ISO C++ forbids declaration of
`setDatabaseConnection'
with no type
src/CSqlTable.cpp:305: `query' undeclared (first use this function)
src/CSqlTable.cpp:305: ISO C++ forbids declaration of `setQuery'
with no type
src/CSqlTable.cpp:306: ISO C++ forbids declaration of `init' with
no type
src/CSqlTable.cpp:307: parse error before `}' token
src/CSqlTable.cpp:309: cannot declare member function
`CSqlTable::CSqlTable'
within `CEllipseTableItem'
src/CSqlTable.cpp:309: syntax error before `:' token
src/CSqlTable.cpp:312: ISO C++ forbids declaration of
`setDatabaseConnection'
with no type
src/CSqlTable.cpp:312: redefinition of `int setDatabaseConnection'
src/CSqlTable.cpp:304: `int setDatabaseConnection' previously
defined here
src/CSqlTable.cpp:313: ISO C++ forbids declaration of `init' with
no type
src/CSqlTable.cpp:314: parse error before `}' token
src/CSqlTable.cpp:317: cannot declare member function
`CSqlTable::CSqlTable'
within `CEllipseTableItem'
src/CSqlTable.cpp:317: syntax error before `{' token
src/CSqlTable.cpp:320: ISO C++ forbids declaration of
`enableColumnsWindow'
...
...
...
-----------------------8<-----------------------------------------
--
--
_______ __________
__ __ \______ /___(_) ker Manuel & SysMgr @ ISG.EE - D-ITET
_ / / / _ \ __/_ / ETH-Zurich tel: +41(0)1-6325302 fax:..1199
/ /_/ // __/ /_ _ / eMail: Manuel Oetiker <moetiker@stripped>
\____/ \___/\__/ /_/ www: http://people.ee.ethz.ch/~moetiker