fpc-devel · 2011-10
- Problem with Now() and time changed by ntpd117
I have daemon which uses Now() for getting current date/time, but something is wrong, time on server changed from 03:00 to 02:00 this weekend, but daemon's Now() was on…
- Fatal: Internal error 20051211510
I`ve got this with 2.5.1 & 2.7.1 1) unable to clean reproduce (real code is https://github.com/alexvins/dwscript/tree/628669df8fd349968e7498ab1da617be6c4f3977) 2) error…
- Segmentation fault for Firebird exception inside thread16
Hello, this is my first post and I hope this is the correct list for my question. I'm getting a segmentation fault ('violación de segmento' in spanish) when running the…
- [iconv][glibc] function "iconvctl" not found.11
Hi! In new GLIBC exists internal implementation "libiconv" (see http://www.gnu.org/s/hello/manual/libc/glibc-iconv-Implementation.html) Implemented functions: iconv_t…
- cvarutil: convert variant array of bytes into ansistring ?2
I am now working on fcl-db TBinaryField, which has Value: Variant property. As I understand documentation, this variant should be returned as variant array of bytes.…
- Wrong assembler generated?2
I was experimenting with gtk3 a bit and a simple program was failing to execute properly. It's very simple: gtk_init(@argc, @argv); WType := gtk_window_get_type();…
- Trunk build broken @ mysqlconn.inc3
Can't build ./trunk/FPC with starting compiler 2.4.4+ <SNIP> mysql40conn.pas mysqlconn.inc(700,37) Error: Incompatible types: got "pculong" expected "PLongWord" Please…
- Trunk does not compile on Linux x86-649
Hi, I'm trying to compile trunk on Ubuntu 11.10 x86-64: Linux leonardo-laptop 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux…
- target embedded heap.inc3
Has anyone tried the embedded target in a while? rev 19168 there was a change to heap.inc and other files I assume * moved heap manager on embedded systems into a…
- FPC Performance: MOVAPD vs MOVSD3
I was reading this article about Delphi XE2 floating point performance. http://delphitools.info/2011/09/02/first-look-at-xe2-floating-point-performance/ Not that I…
- Re: Trunk rev 19505 dont compile (fails at fpvectorial)3
You should have only deleted the "units" directory under fpvectorial. Do an "svn update" to restore the missing fpvectorial directory. Jonas
- maximum number of params to function? and misleading error>0
Is there a maximum number of params that a function can take? Before the compiler gives the error: WatchesPrg.pas(274,3) Error: Wrong number of parameters specified for…
- bug report 20473: Please add a directive to define string=utf8string64
Posting here as this was requested in the bug report: http://bugs.freepascal.org/view.php?id=20473 I think it is very simple: Having such a directive would save a lot of…
- CompareMem slower in FPC 2.4.412
In my tests, FPC 2.4.4 has much slower CompareMem than FPC 2.4.2, at least for some cases: # with fpc 2.4.4 $ time ./compare_mem_test 100000000 real 0m7.795s…
- What is the status of SymbianOS ?2
I have a project to develop app also for cellphones, and one of the environment will be Symbian (also iOS and Android). For using it, I need to better understand the…
- fcl-web: A proper way to set SO_REUSEADDR socket option in THTTPApplication4
Currently, if THTTPApplication-based program on Linux was stopped manually during active connection I cannot start it again for 1-2 minutes, getting the exception like…
- Delphi new AnsiStrings are incredibly broken :-(7
After the test program, sent by Paul, I was playing more with AnsiStrings in Delphi XE, with catastrophic results :-( At least when MBCS enter the scene, and UTF-8 is…
- new string - question on usage144
With fpc trunk strings are now codepage aware. I currently face the issue, that lot's of old code just use "var foo: string". or sometimes explicit "ansistring". No idea…
- stabs on Mac / relocation issue?8
Is there a known issue on Mac? The following was observed on 2 different 32 bit Mac: compiling from lazarus tests/lazutils/testunicode.lpi with -gs / also entire LCL…
- Some questions and proposals about cpstring14
1) Why UTF8String made incompatible with AnsiString(CP_UTF8) ( UTF8String = type AnsiString(CP_UTF8); )? Why not an alias? 2) Same question about RawByteString 3) why…
- OpenBSD compiler24
Hi, I noted that Pierre is updating the OpenBSD port. Does anyone knows where can I find a bootstraping compiler for this platform?. Leonardo M. Ramé…
- sysconst error4
I'm having a problem compiling FPC 2.7.1 under linux 64 bit: sysconst.pp(243,7) Error: Wrong number of parameters specified for call to "$fpc_ansistr_sint"…
- new strings, rawbyte type, but what about "raw" encoding11
Just out of curiosity, and without even being sure, if a real use case for something like this ever exists With the new strings, the encoding is part of the data, not…
- limited -gc ?3
-gc, is apparently only useful in very limited scenarios, such as applications, that have no interaction with the OS at all, or can otherwise gurantee, never to access…
- fpc trunk (today) just stops with "Fatal: Compilation aborted"4
Trying to compile lazarus with trunk fpc: Any ideas? make.exe[2]: Entering directory `C:/lazarus_latest/ide' C:/FPC/trunk_gw/bin/i386-win32/fpc.exe -gl -dlclwin32…
- massive slowdown of my code with fpc trunk1
If I run the attached project compiled with fpc trunk (maybe a week old), it runs 5 times slower than when compiled with fpc 2.4.4 First question, can someone else…
- FPGTK for GTK20
FPGTK seems to be a very easy API for GTK. I would like to use it in stead of the LCL and Lazarus. Does someone know if it is possible to use FPGTK with GTK2. In its…
- Delphi incompatibly regarding PtrInt and NativeInt1
I got an email from a Delphi XE2 user busy working on a 64-bit patch for tiOPF3. A few things he noted, which I see is different to how FPC done it. Under 64-bit FPC we…
- fpdoc backport request2
I'm not sure where to ask for this, but Michael mentioned that all backports are handled by Marco. So Marco, can the following minor fpdoc fix be backported to FPC 2.6.0…
- Could someone verify this WinCE issue (and maybe check with other FPC versions also)9
( NOTE : Lazarus & FPC newbie alert ;) ) Test app included in the Bug report (Just use latest trunk version of Lazarus) http://bugs.freepascal.org/view.php?id=20362 As…
- MIPS32
Felipe and Michael have pointed out to me that David Zhang's mipsel port has been integrated into trunk. Before I start trying to build it, could anybody comment on how…
- utf-8 package in Free Pascal32
I would like to add a new package to Free Pascal into the directory packages/fputf8 which will provide classes and routines for UTF-8 applications. It might grow to…
- New Windows gdb-binary25
For all those who are interested in new debug-features of fpc and gdb, I have cross-compiled a gdb-executable for Windows. It's based on the Fedora-16 branch from the…
- building fpc / fpmake and multicore cpu ?3
I noticed, when I build fpc, then I get cpu usage between 70% and 100%. So it appears that both cores of my pentium are used. But when a package is compiled using…
- Optimization stops near inline asm5
the following code: {$mode objfpc} var a: Integer; begin a := a + 1; asm nop end; end. generates (under -O2): movl U_P$PROGRAM_A,%eax incl %eax movl %eax,U_P$PROGRAM_A…
- alignment warnings6
Hi list Thinking more about the alignment problems on arm and elsewhere, I was wondering how hard it would be to implement something like gcc's -Wcast-align. Here's a…
