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
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 previous message
mirek is currently offline  mirek
Messages: 14267
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
 
Read Message
Read Message
Read Message
Previous Topic: Populate data from sql select to Arrayctrl
Next Topic: sqlite.sch syntax with multiple tables
Goto Forum:
  


Current Time: Mon Aug 25 01:41:20 CEST 2025

Total time taken to generate the page: 0.06027 seconds