From: Colin A. <col...@go...> - 2007-12-17 08:54:30
|
gestalt49.c s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6317) : error C2059: syntax error : '}' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6322) : error C2079: 'z1' uses undefined struct 'S1079' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6339) : error C2059: syntax error : '}' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6344) : error C2079: 'z1' uses undefined struct 'S1316' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6349) : error C2059: syntax error : '}' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6354) : error C2079: 'z1' uses undefined struct 'S2338' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6359) : error C2059: syntax error : '}' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6364) : error C2079: 'z1' uses undefined struct 'S2341' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(15302) : error C2079: 'a11' uses undefined struct 'S1079' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(16199) : error C2079: 'a9' uses undefined struct 'S1316' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(16219) : error C2079: 'a5' uses undefined struct 'S1316' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(16260) : error C2079: 'a2' uses undefined struct 'S1316' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(19493) : error C2079: 'a3' uses undefined struct 'S2338' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(19875) : error C2079: 'a2' uses undefined struct 'S1316' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(19911) : error C2079: 'a2' uses undefined struct 'S1316' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(19919) : error C2079: 'a2' uses undefined struct 'S1316' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(30149) : error C2079: 'a6' uses undefined struct 'S2341' I'm getting a whole lot of errors, such as: Do you want me to attach one of the C files? gestalt48.c s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6317) : error C2059: syntax error : '}' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6322) : error C2079: 'z1' uses undefined struct 'S1079' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6339) : error C2059: syntax error : '}' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6344) : error C2079: 'z1' uses undefined struct 'S1316' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6349) : error C2059: syntax error : '}' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6354) : error C2079: 'z1' uses undefined struct 'S2338' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6359) : error C2059: syntax error : '}' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6364) : error C2079: 'z1' uses undefined struct 'S2341' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(15302) : error C2079: 'a11' uses undefined struct 'S1079' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(16199) : error C2079: 'a9' uses undefined struct 'S1316' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(16219) : error C2079: 'a5' uses undefined struct 'S1316' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(16260) : error C2079: 'a2' uses undefined struct 'S1316' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(19493) : error C2079: 'a3' uses undefined struct 'S2338' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(19875) : error C2079: 'a2' uses undefined struct 'S1316' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(19911) : error C2079: 'a2' uses undefined struct 'S1316' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(19919) : error C2079: 'a2' uses undefined struct 'S1316' s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(30149) : error C2079: 'a6' uses undefined struct 'S2341' |
From: Eric B. <er...@go...> - 2007-12-17 10:00:39
|
Colin Adams wrote: > Do you want me to attach one of the C files? Send to me gestalt.h. Did you set %BOEHM_GC% properly? I assume that it used to compile without Boehm? -- Eric Bezault mailto:er...@go... http://www.gobosoft.com |
From: Eric B. <er...@go...> - 2007-12-17 16:16:40
|
Colin Adams wrote: > I'm getting a whole lot of errors, such as: > gestalt49.c > s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6317) : error C2059: > syntax error : '}' I don't think that it is related to using Boehm. The generated code looks like that: /* Struct for type expanded EPX_FTP_COMMANDS */ struct S1079 { }; It looks like class EPX_FTP_COMMANDS has no attributes, and apparently an empty struct is not allowed in C. If this is indeed the case then I should add a dummy field in the struct in that case. -- Eric Bezault mailto:er...@go... http://www.gobosoft.com |
From: Eric B. <er...@go...> - 2007-12-17 20:26:21
|
Eric Bezault wrote: > Colin Adams wrote: > > I'm getting a whole lot of errors, such as: >> gestalt49.c >> s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6317) : error C2059: >> syntax error : '}' > > I don't think that it is related to using Boehm. The generated > code looks like that: > > /* Struct for type expanded EPX_FTP_COMMANDS */ > struct S1079 { > }; > > It looks like class EPX_FTP_COMMANDS has no attributes, and > apparently an empty struct is not allowed in C. If this is > indeed the case then I should add a dummy field in the struct > in that case. It should be fixed now. You will have to recompile gec though. BTW, did you manage to compile the Boehm GC under Windows? -- Eric Bezault mailto:er...@go... http://www.gobosoft.com |
From: Colin A. <col...@go...> - 2007-12-17 20:45:08
|
Yes, version 7.0 compiled with no problems. So this weekend I will upgrade my linux version from 6.7 to 7.0 just to be consistent. On 17/12/2007, Eric Bezault <er...@go...> wrote: > Eric Bezault wrote: > > Colin Adams wrote: > > > I'm getting a whole lot of errors, such as: > >> gestalt49.c > >> s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6317) : error C2059: > >> syntax error : '}' > > > > I don't think that it is related to using Boehm. The generated > > code looks like that: > > > > /* Struct for type expanded EPX_FTP_COMMANDS */ > > struct S1079 { > > }; > > > > It looks like class EPX_FTP_COMMANDS has no attributes, and > > apparently an empty struct is not allowed in C. If this is > > indeed the case then I should add a dummy field in the struct > > in that case. > > It should be fixed now. > You will have to recompile gec though. > > BTW, did you manage to compile the Boehm GC under Windows? > > -- > Eric Bezault > mailto:er...@go... > http://www.gobosoft.com > |
From: Colin A. <col...@go...> - 2007-12-18 08:02:10
|
It works now. Thanks. On 17/12/2007, Colin Adams <col...@go...> wrote: > Yes, version 7.0 compiled with no problems. > So this weekend I will upgrade my linux version from 6.7 to 7.0 just > to be consistent. > > On 17/12/2007, Eric Bezault <er...@go...> wrote: > > Eric Bezault wrote: > > > Colin Adams wrote: > > > > I'm getting a whole lot of errors, such as: > > >> gestalt49.c > > >> s:\user_nt\c4\gestalt\trunk\gestalt\gestalt.h(6317) : error C2059: > > >> syntax error : '}' > > > > > > I don't think that it is related to using Boehm. The generated > > > code looks like that: > > > > > > /* Struct for type expanded EPX_FTP_COMMANDS */ > > > struct S1079 { > > > }; > > > > > > It looks like class EPX_FTP_COMMANDS has no attributes, and > > > apparently an empty struct is not allowed in C. If this is > > > indeed the case then I should add a dummy field in the struct > > > in that case. > > > > It should be fixed now. > > You will have to recompile gec though. > > > > BTW, did you manage to compile the Boehm GC under Windows? > > > > -- > > Eric Bezault > > mailto:er...@go... > > http://www.gobosoft.com > > > |