Home » U++ Library support » U++ SQL » problems with schema-file 
	
		
		
			| problems with schema-file [message #19610] | 
			Mon, 22 December 2008 21:29   | 
		 
		
			
				
				
				  | 
					
						  
						michael
						 Messages: 153 Registered: May 2007  Location: Germany
						
					 | 
					Experienced Member  | 
					 | 
		 
		 
	 | 
 
	
		I want to use a schema-file within my mysql-project but run into several errors when compiling. 
 
This is what my schema-file looks like: 
TABLE_ (KUNDEN)
    INT_    (ID) PRIMARY_KEY AUTO_INCREMENT
    STRING_ (NAME, 100)
    INT_    (NUMMER)
    STRING_ (PRODUKT, 100)
    STRING_ (VERSION, 100)
    STRING_ (STANDORT, 100)
    STRING_ (ANBINDUNG, 100)
    STRING_ (BEMERKUNG, 100)
END_TABLE
TABLE_ (SERVER)
    INT_    (ID) PRIMARY_KEY AUTO_INCREMENT
    INT_    (KUNDE)
    STRING_ (ALIAS, 100)
    STRING_ (HOSTNAME, 100)
    STRING_ (DOMAENE, 100)
    STRING_ (FUNKTION, 100)
    STRING_ (IPADRESSE, 100)
    STRING_ (PROTOKOLL, 100)
    STRING_ (SYSTEM, 100)
    STRING_ (VERSION, 100)
    STRING_ (BEMERKUNG, 100)
END_TABLE
TABLE_ (STANDORTE)
    INT_    (ID) PRIMARY_KEY AUTO_INCREMENT
    STRING_ (NAME, 100)
    INT_    (KUNDE)
    STRING_ (STANDORT, 100)
    STRING_ (ZENTRALE, 100)
    STRING_ (VERWALTER, 100)
    STRING_ (TELEFON, 100)
    STRING_ (EMAIL, 100)
    STRING_ (BEMERKUNG, 100)
END_TABLE
TABLE_ (AUFWAHLHISTORIE)
    INT_    (ID) PRIMARY_KEY AUTO_INCREMENT
    STRING_ (TIMESTAMP, 100)
    STRING_ (ALIAS, 100)
    STRING_ (HOSTNAME, 100)
    STRING_ (DOMAENE, 100)
    STRING_ (IPADRESSE, 100)
    STRING_ (PROTOKOLL, 100)
    STRING_ (BENUTZER, 100)
    STRING_ (AUFWAHLGRUND, 100)
END_TABLE
TABLE_ (BENUTZER)
    INT_    (ID) PRIMARY_KEY AUTO_INCREMENT
    STRING_ (BENUTZERNAME, 100)
    STRING_ (BENUTZERKENNUNG, 100)
    STRING_ (DOMAENE, 100)
    STRING_ (REMOTEBENUTZER, 100)
    STRING_ (PRODUKTFILTER, 100)
    STRING_ (RDPPROFIL, 100)
    INT_    (BENUTZER)
    INT_    (HAUPTBENUTZER)
    INT_    (ADMINISTRATOR)
    STRING_ (BEMERKUNG, 100)
END_TABLE
TABLE_ (BERECHTIGUNG)
    INT_    (ID) PRIMARY_KEY AUTO_INCREMENT
    STRING_ (BENUTZERKENNUNG, 100)
    STRING_ (ALIAS, 100)
    STRING_ (IPADRESSE, 100)
    STRING_ (BEMERKUNG, 100)
END_TABLE
 
 
and this is what my compiler has to say: 
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
	t
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C2143: syntax error : missing ';' before '&'
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
	t
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : warning C4183: 'ColumnSet': missing return type; assumed to be a member function returni
	ng 'int'
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C2146: syntax error : missing ';' before identifier 'ColumnSet'
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
	t
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C2373: 'S_KUNDEN::SqlSet' : redefinition; different type modifiers
        H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : see declaration of 'S_KUNDEN::SqlSet'
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
	t
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
	t
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C2143: syntax error : missing ',' before '&'
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
	t
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : warning C4183: 'ColumnSet': missing return type; assumed to be a member function returni
	ng 'int'
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C2146: syntax error : missing ';' before identifier 'Of'
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
	t
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C2373: 'S_KUNDEN::SqlSet' : redefinition; different type modifiers
        H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : see declaration of 'S_KUNDEN::SqlSet'
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
	t
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C2061: syntax error : identifier 'SqlId'
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-in
	t
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : warning C4183: 'Of': missing return type; assumed to be a member function returning 'int
	'
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C2061: syntax error : identifier 'FieldOperator'
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C2059: syntax error : ')'
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C2143: syntax error : missing ')' before ';'
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C2061: syntax error : identifier 'FieldOperator'
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C2833: 'operator Fields' is not a recognized operator or type
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C2059: syntax error : 'newline'
H:\Entwicklung\UPP\prohibisZA/prohibisZA.sch(1) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
 
 
this is my first try with schema-files, what's going wrong?
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 08:47:58 CET 2025 
 Total time taken to generate the page: 0.04533 seconds 
 |