Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » SqlArray seems to be broken
SqlArray seems to be broken [message #1324] Mon, 27 February 2006 23:17 Go to next message
wilho is currently offline  wilho
Messages: 19
Registered: February 2006
Promising Member
I'm using latest snapshot.

If I create project with main dialog, add SqlCtrl package and SqlArray -control into it, it won't compile:
main.cpp
C:\MyApps\sqlarr/sqlarr.lay(2) : error C2146: syntax error : missing ';' before identifier 'arraysql'
        C:\MyApps\sqlarr/sqlarr.lay(3) : see reference to class template instantiation 'WithsqlarrLayout<T>' being compiled
C:\MyApps\sqlarr/sqlarr.lay(2) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\sqlarr/sqlarr.lay(2) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\sqlarr/sqlarr.lay(2) : error C2146: syntax error : missing ';' before identifier 'arraysql'
        c:\myapps\sqlarr\sqlarr.h(11) : see reference to class template instantiation 'WithsqlarrLayout<T>' being compiled
        with
        [
            T=TopWindow
        ]
C:\MyApps\sqlarr/sqlarr.lay(2) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\sqlarr/sqlarr.lay(2) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1 file(s) compiled in (0:01.25) 1250 msec/file

There were errors. (0:01.53)
Re: SqlArray seems to be broken [message #1334 is a reply to message #1324] Tue, 28 February 2006 00:29 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
wilho wrote on Mon, 27 February 2006 17:17

I'm using latest snapshot.

If I create project with main dialog, add SqlCtrl package and SqlArray -control into it, it won't compile:
main.cpp
C:\MyApps\sqlarr/sqlarr.lay(2) : error C2146: syntax error : missing ';' before identifier 'arraysql'
        C:\MyApps\sqlarr/sqlarr.lay(3) : see reference to class template instantiation 'WithsqlarrLayout<T>' being compiled
C:\MyApps\sqlarr/sqlarr.lay(2) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\sqlarr/sqlarr.lay(2) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\sqlarr/sqlarr.lay(2) : error C2146: syntax error : missing ';' before identifier 'arraysql'
        c:\myapps\sqlarr\sqlarr.h(11) : see reference to class template instantiation 'WithsqlarrLayout<T>' being compiled
        with
        [
            T=TopWindow
        ]
C:\MyApps\sqlarr/sqlarr.lay(2) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\MyApps\sqlarr/sqlarr.lay(2) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1 file(s) compiled in (0:01.25) 1250 msec/file

There were errors. (0:01.53)



Looks like missing

#include <SqlCtrl/SqlCtrl.h>

before including .lay file.

Mirek
Re: SqlArray seems to be broken [message #1341 is a reply to message #1324] Tue, 28 February 2006 12:36 Go to previous message
wilho is currently offline  wilho
Messages: 19
Registered: February 2006
Promising Member
So it was my newbieness after all. I thought that includes are fine as long I play with designer. Vvery helpfull from you, thanks.
Previous Topic: Populate data from sql select to Arrayctrl
Next Topic: sqlite.sch syntax with multiple tables
Goto Forum:
  


Current Time: Sat Apr 27 23:04:51 CEST 2024

Total time taken to generate the page: 0.02535 seconds