Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl and mingw compiler error
GridCtrl and mingw compiler error [message #8752] |
Wed, 28 March 2007 23:32 |
|
forlano
Messages: 1185 Registered: March 2006 Location: Italy
|
Senior Contributor |
|
|
Hello,
attached there is a test case (just a simply layout) that run OK in MSC8 and produces the following complains from mingw
main.cpp
In file included from C:/upp/uppsrc/CtrlCore/lay.h:22,
from C:\MyApps\testgridbug\/testgridbug.h:10,
from C:\MyApps\testgridbug\main.cpp:1:
C:/MyApps/testgridbug/testgridbug.lay:5: error: expected unqualified-id before numeric constant
C:/MyApps/testgridbug/testgridbug.lay:6: error: expected unqualified-id before numeric constant
In file included from C:/upp/uppsrc/CtrlCore/lay.h:35,
from C:\MyApps\testgridbug\/testgridbug.h:10,
from C:\MyApps\testgridbug\main.cpp:1:
C:/MyApps/testgridbug/testgridbug.lay: In function `void InitLayout(Upp::Ctrl&, L&, D&, testgridbugLayout__lay
id&)':
C:/MyApps/testgridbug/testgridbug.lay:5: error: expected unqualified-id before numeric constant
C:/MyApps/testgridbug/testgridbug.lay:5: error: expected `;' before numeric constant
C:/MyApps/testgridbug/testgridbug.lay:5: error: expected unqualified-id before numeric constant
C:/MyApps/testgridbug/testgridbug.lay:6: error: expected unqualified-id before numeric constant
C:/MyApps/testgridbug/testgridbug.lay:6: error: expected `;' before numeric constant
C:/MyApps/testgridbug/testgridbug.lay:6: error: expected unqualified-id before numeric constant
C:/upp/uppsrc/GridCtrl/GridCtrl.h: At global scope:
C:/upp/uppsrc/GridCtrl/GridCtrl.h:857: warning: inline function `Upp::Item& Upp::GridCtrl::GetItem(int, int)'
used but never defined
testgridbug: 1 file(s) built in (0:08.46), 8469 msecs / file, duration = 8469 msecs
There were errors. (0:08.78)
The problem is that because of it the same problem appear when I try to compile the program under linux. The previous errors come from 2007.1.rc2 but they are the same with 2007.1.rc3 under ubuntu 6.10.
Any idea to overcome the problem?
Luigi
|
|
|
Goto Forum:
Current Time: Tue May 14 17:49:41 CEST 2024
Total time taken to generate the page: 0.02325 seconds
|