From: =?iso-8859-1?Q?<mar...@la...> - 2003-02-25 18:23:53
|
add in strop.h=0D=0A#include <time.h>=0D=0A=0D=0A---------- Debut du mess= age initial -----------=0D=0A=0D=0ADe : pil...@li...u= rceforge.net=0D=0AA : <pil...@li...>=0D=0ACop= ies : =0D=0ADate : Tue, 25 Feb 2003 12:58:50 -0500 (EST)=0D=0AObjet : = [pilot-db-list] Re: Re:[pilot-db-list] palm db tools=0D=0Abuild problems=0D= =0A=0D=0ARe: change to strop.h and strop.cpp for strptime=0D=0A=0D=0AAfte= r making this change and running the make again, I see=0D=0Athis error:=0D= =0A=0D=0Ag++ -DHAVE_CONFIG_H -I.=0D=0A-I/ldatae/PilotBuilding/DB/palm-db-= tools/libsupport -I..=0D=0A-I/ldatae/PilotBuilding/DB/palm-db-tools -ansi= -pedantic -g=0D=0A-O2 -Wall -Werror -Wp,-MD,.deps/strop.pp -c strop.cpp = -fPIC=0D=0A-DPIC -o .libs/strop.lo=0D=0AIn file included from strop.cpp:= 27:=0D=0Astrop.h:105: no file-scope type named `tm'=0D=0Acc1plus: warning= s being treated as errors=0D=0Astrop.h:105: warning: non-local function `= char *=0D=0AStrOps::strptime(const char *, const char *,=0D=0AStrOps::{an= onymous struct} *)' uses anonymous type=0D=0Astrop.cpp:281: no file-scope= type named `tm'=0D=0Astrop.cpp:282: `StrOps::strptime(const char *, cons= t char *,=0D=0A{anonymous struct} *)' should have been declared inside `S= trOps'=0D=0Astrop.cpp:282: warning: non-local function `char *=0D=0AStrOp= s::strptime(const char *, const char *, {anonymous=0D=0Astruct} *)' uses = anonymous type=0D=0Astrop.cpp: In function `char * StrOps::strptime(const= char *,=0D=0Aconst char *, {anonymous struct} *)':=0D=0Astrop.cpp:296: i= nvalid use of undefined type `struct {anonymous}'=0D=0Astrop.cpp:281: for= ward declaration of `struct {anonymous}'=0D=0Astrop.cpp:297: invalid use = of undefined type `struct {anonymous}'=0D=0Astrop.cpp:281: forward declar= ation of `struct {anonymous}'=0D=0A=0D=0Aand so on=0D=0A-- =0D=0ATcl - Th= e glue of a new generation. <URL: http://wiki.tcl.tk/ >=0D=0ALarry W. Vi= rden <mailto:lv...@ca...> <URL:=0D=0Ahttp://www.purl.org/NET/lvirden/= >=0D=0AEven if explicitly stated to the contrary, nothing in this=0D=0Apo= sting should =0D=0Abe construed as representing my employer's opinions.=0D= =0A-><-=0D=0A=0D=0A=0D=0A------------------------------------------------= -------=0D=0AThis sf.net email is sponsored by:ThinkGeek=0D=0AWelcome to = geek heaven.=0D=0Ahttp://thinkgeek.com/sf=0D=0A__________________________= _____________________=0D=0APilot-db-list mailing list=0D=0APilot-db-list@= lists.sourceforge.net=0D=0Ahttps://lists.sourceforge.net/lists/listinfo/p= ilot-db-list=0D=0A=0A=0AAcc=E9dez au courrier =E9lectronique de La Poste = : www.laposte.net ; =0A3615 LAPOSTENET (0,13 =80/mn) ; t=E9l : 08 92 68 1= 3 50 (0,34=80/mn)"=0A=0A |