Re: [fpc-devel]DateSeparator

2004-08-08 Thread Vincent Snijders
On Sun, 08 Aug 2004 00:26:54 -0500
Tony Maro [EMAIL PROTECTED] wrote:

 Marco van de Voort wrote:
 
 The DateSeparator is defined in sysinth.inc as
 
 Const
 
{ Character to be put between date, month and year }
DateSeparator: char = '-';
  
  
  As said on IRC, I suspect this is a 1.0.10 issue. (1.9.x bootstrapping with 1.0.x I
  mean), since IIRC 1.0.x doesn't support
 
 Right, but I'm suggesting it go ahead and be changed in 1.9.x... would 
 this cause other problems?
 
  
{ Format used for short date notation }
ShortDateFormat: string = 'd/m/y';
  
  
  Strange. That's not european at all? d-m-y or dd.mm.yy
 
 True, but with the const dateseparator, it results in d-m-y of course ;-)
Even if it is a const, it is a typed constant and to those constants you can assign:
ShortDateFormat := 'm/d/y';

HTH,
Vincent.

___
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel]patch for fcl/db/dbase/Makefile.fpc

2004-08-08 Thread Vincent Snijders
Hi,

The unit Dbf_Wtil is not needed on win32, and ATM is not compiled, so it should not be 
installed, nor cleaned. Attached patch for fcl/db/dbase/Makefile.fpc and 
fcl/db/dbase/Makefile fixes this.

Regards,
Vincent.

___
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel]New local switch CHECKPOINTER

2004-08-08 Thread Martin Schreiber
Sometimes we have to use memory which is allocated by xlib,  heaptrc.CheckPointer does 
not like this addresses.
I solved the problem by adding a new local compiler switch {$CHECKPOINTER 
ON/OFF/DEFAULT}. DEFAULT switches back to the state of commandline option -gc.
Also added stack and data segment tests in heaptrc.CheckPointer for linux.
If you like it, patch for 1.9.4 is attached.

Martin Schreiber


checkpointer.tar.gz
Description: application/tgz


Re: [fpc-devel]DateSeparator

2004-08-08 Thread Michael . VanCanneyt


On Sat, 7 Aug 2004, Tony Maro wrote:

 The DateSeparator is defined in sysinth.inc as
 
 Const
 
{ Character to be put between date, month and year }
DateSeparator: char = '-';

As you can see it is a typed const, which means you can set it to any
character you like. To solve your problems, set it to '/' at program startup,
and you should be fine. 

Same for the other constants.

I have thousands of lines of code, which frequently set it to various
values. Never had a problem.

The reason it is a const is that initialized variables are not supported in
1.0.X, but typed constants (which are the same as initialized variables)
are...

Michael.

___
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel]patch for fcl/db/dbase/Makefile.fpc

2004-08-08 Thread Michael . VanCanneyt


On Sun, 8 Aug 2004, Vincent Snijders wrote:

 Hi,
 
 The unit Dbf_Wtil is not needed on win32, and ATM is not compiled, so it should not 
 be installed, nor cleaned. Attached patch for fcl/db/dbase/Makefile.fpc and 
 fcl/db/dbase/Makefile fixes this.


Applied, thanks !

Michael.

___
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel]DateSeparator

2004-08-08 Thread Tony Maro
[EMAIL PROTECTED] wrote:
As you can see it is a typed const, which means you can set it to any
character you like. To solve your problems, set it to '/' at program startup,
and you should be fine. 

Same for the other constants.
 

Ah... okay.  So just a lack of knowledge on my part.
Thanks guys,
Tony
___
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel