On May 4, 2012, at 6:12 PM, Tomas Hajny wrote:
> On Fri, May 4, 2012 17:44, dhkblas...@zeelandnet.nl wrote:
>> On 4 mei '12, michael.vancann...@wisa.be wrote:
>>> On Fri, 4 May
>> 2012, michael.vancann...@wisa.be [3]wrote:
>>>
On Fri, 4 May 2012,
>> dhkblas...@zeelandnet.nl [1]wrote:
I'm struggling to convert a simple for loop from C to pascal. The code is shown
below (as is a trace of the loop parameter values). I'm a bit puzzled how this
should look elegantly in pascal. Anyone has an idea?
Regards, Darius
unsigned nc = 4;
for (unsigned i = 0, j = nc-1; i < nc; j
Thanks to all. I got the code working now.
Regards, Darius
On May 13, 2012, at 3:09 PM, Darius Blaszyk wrote:
> I'm struggling to convert a simple for loop from C to pascal. The code is
> shown below (as is a trace of the loop parameter values). I'm a bit puzzled
> h
Thanks Michalis,
I assigned the report to myself.
Regards, Darius
On May 12, 2012, at 3:19 PM, Michalis Kamburelis wrote:
> Hi,
>
> I'm not sure if anyone is actively watching the Mantis issues for FpProfiler,
> so I thought I'll mention it here: I submitted a patch to fix the compilation
>
Hi Tomas,
That did the trick! I didn't notice the dialogs unit in the implementation
section. After removing it everything works fine now. I got opencv running on
windows and displaying the webcam feed on a opengl texture. I will put the code
on the ccr as soon as I have access again. In the co
On Oct 11, 2012, at 4:25 PM, Jonas Maebe wrote:
>
> On 11 Oct 2012, at 16:11, dhkblas...@zeelandnet.nl wrote:
>
>> On 11 okt '12, Jonas Maebe wrote:
>>
>>> No. You really should write the fields one by one. Yes,
>>> it's slower. That's the cost of portability. You can always optimize by
>>> f
Hi,
I'm trying to use valgrind for the first time seriously to profile my app. See
output from console below;
Darius-Blaszyks-Mac-mini:fileio dariusblaszyk$ fpc -gv fileio.pp
Free Pascal Compiler version 2.7.1 [2012/05/18] for i386
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS
On Oct 15, 2012, at 3:06 PM, Jonas Maebe wrote:
>
> On 15 Oct 2012, at 14:08, Darius Blaszyk wrote:
>
>> I'm trying to use valgrind for the first time seriously to profile my app.
>> See output from console below;
>>
> [snip]
>> After googling I f
On Oct 15, 2012, at 3:06 PM, Jonas Maebe wrote:
> You may want to look at the Instruments application that comes with Xcode
> though. That one offers a lot of different profiling options based on
> performance counters and sampling.
What command line options does this need? I tried a number of
Is there any way macro's could help in this respect? I'm looking for an way to
write the variable name and value to screen at runtime.
Darius
On Mar 4, 2013, at 10:05 PM, Sven Barth wrote:
> Am 04.03.2013 14:39, schrieb dhkblas...@zeelandnet.nl:
>> Hi,
>>
>> How can I retrieve a variable nam
Here's why :)
Unfortunately pascal macro's are rather limited compared to C. I know I know,
you could potentially open up a can of worms, but sometimes more control is
required.
Darius
On Mar 5, 2013, at 5:07 PM, Sven Barth wrote:
> Am 05.03.2013 16:41, schrieb Darius Blaszyk
mar...@stack.nl schreef op 6 mrt '13:
> In our previous episode,
Mark Morgan Lloyd said:
>
Unfortunately pascal macro's are rather
limited compared to C. I know I know, you could potentially open up a
can of worms, but sometimes more control is required.
>>> There is
nothing restraining
Just found this project. Seems to be abandoned but might be
interesting in the light of Marco's
reply;
http://code.google.com/p/metapascal/ [1]
Links:
--
[1]
http://code.google.com/p/metapascal/
___
fpc-pascal maillist - fpc-pascal@lists.freep
I'm stuck porting a macro from C. Below is the original define. The
part I'm struggeling with is the right most part after the - sign.
#define GETNEXT(x) ((LList *)(((char *) x) - ((char *) & (((LList
*)0)^.next
Does anyone know what is meant with the define?
Obviously LList is a linked l
Henry Vermaak schreef op 12 mrt '13:
> On Mon, Mar 11, 2013 at
11:26:57PM +0100, Darius Blaszyk wrote:
>
>> I'm stuck porting a macro
from C. Below is the original define. The part I'm struggeling with is
the right most part after the - sign. #define GETNEX
Henry Vermaak schreef op 12 mrt '13:
> On Mon, Mar 11, 2013 at
11:26:57PM +0100, Darius Blaszyk wrote:
>
>> I'm stuck porting a macro
from C. Below is the original define. The part I'm struggeling with is
the right most part after the - sign. #define GETNEX
Flávio Etrusco schreef op 12 mrt '13:
> On 3/11/13, Darius Blaszyk
wrote:
>
>> I'm stuck porting a macro from
C. Below is the original define. The part I'm struggeling with is the
right most part after the - sign. #define GETNEXT(x) ((LList *)(((char
*) x) - ((ch
Hi,
I'm linking a C and FPC program but I keep on getting undifined
symbols (see example below).
Error: Undefined symbol: _strcpy
Sofar I
have added:
{$linklib msvcrt}
{$linklib gcc}
What other libraries
should I add? BTW, I'm compiling the C library with MinGW.
Regards,
Darius
On Apr 21, 2013, at 6:35 PM, Ludo Brands wrote:
> A few things wrong in your files:
> - the c program. When you want to link against msvcrt then you better
> use the ms functions;) There is no filesize, or open, or close (the
> latter are deprecated since a while and not present anymore in msvcrt
On Apr 24, 2013, at 10:00 AM, Ludo Brands wrote:
> On 04/23/2013 10:14 PM, Darius Blaszyk wrote:
>>
>>
>> Thanks Ludo! Works perfectly also here. However for my understanding. Why
>> does MinGW find open, filesize etc? Is there some header file that
>> &
On Apr 26, 2013, at 1:37 AM, Paul Breneman wrote:
>>>
>> Yes it does find them, the statically libraries are linked into an
>> executable which works fine. That is why I was surprised. I'm sure MinGW
>> must link to other libraries as well. The question though is which. Anyway
>> to find out
Hi,
I came across a pointer variable in C which also get's assigned integer
values. Anyone has an idea how to port this in FPC?
The variable is declared as:
static void *x=0;
Later on it get's assigned as this: x= 1;
Regards, Darius ___
fpc-pas
Thanks Jonas!
Jonas Maebe schreef op 4 mei '13:
> On 04 May 2013, at 10:25, Darius Blaszyk wrote:
>
>> I came across a pointer variable in C which also get's assigned integer
>> values. Anyone has an idea how to port this in FPC? The variable is declared
>&
I'm working on a glut app but I keep on getting the message: Error:
Can't assign local procedure/function to procedure variable
The error is at this line: glutDisplayFunc(@redrawfunc);
And the callback (which is declared in the same .inc file) is declared
as: procedure redrawfunc; cdecl;
I
> Am 08.05.2013 11:20, schrieb Darius Blaszyk:
>
>> I'm working on a glut app but I keep on getting the message: Error: Can't
>> assign local procedure/function to procedure variable The error is at this
>> line: glutDisplayFunc(@redrawfunc); And the call
> Am 08.05.2013 11:40, schrieb Darius Blaszyk:
>
> Am 08.05.2013 11:20, schrieb Darius Blaszyk:
> I'm working on a glut app but I keep on getting the message: Error: Can't
> assign local procedure/function to procedure variable The error is at this
> line: glutD
Hi,
I'm trying to link a C library to my pascal app. From the messages I
understand that I forgot to link in some additional library. However I
cannot find which one that is. In my app I have included:
{$IFDEF MSWINDOWS}
{$linklib libmsvcrt}
{$ELSE}
{$linklib c}
{$ENDIF}
Is there a way t
Hi Andrew,
I found this mail from you regarding attaching SDL to the used
widgetset. But whatever I do I cannot get it to work. The example you
attached in the email below works fine, so it has to be possible. So why
not when using the LCL?
I hope you don;t mind me bugging you about this, but I'v
On Mon, 2010-09-06 at 13:01 +0200, Graeme Geldenhuys wrote:
> Recently I took a look at Darius's old project 'fpprofiler. Links
> below. It was over 2 years since anybody worked on it, and riddled
> with bugs. I fixed all memory leaks, added some improvements, and used
> the new fcl-passrc code in
On Mon, 2010-09-06 at 16:58 +0300, Žilvinas Ledas wrote:
> On 2010-09-06 15:48, Darius Blaszyk wrote:
> > On Mon, 2010-09-06 at 13:01 +0200, Graeme Geldenhuys wrote:
> >> Recently I took a look at Darius's old project 'fpprofiler. Links
> >> below. It was ov
On Mon, 2010-09-06 at 16:58 +0300, Žilvinas Ledas wrote:
> 3) in "procedure TPasTokenList.SaveToFile(const AFileName: string);"
> no
> need for writeLN's - writes are enough;
Fixed in rev2492
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
On Mon, 2010-09-06 at 16:58 +0300, Žilvinas Ledas wrote:
> On 2010-09-06 15:48, Darius Blaszyk wrote:
> > On Mon, 2010-09-06 at 13:01 +0200, Graeme Geldenhuys wrote:
> >> Recently I took a look at Darius's old project 'fpprofiler. Links
> >> below. It was ov
On Sat, 2010-09-18 at 15:12 +0300, Žilvinas Ledas wrote:
> Sorry, forgot to ask - to what category should I submit bugs for
> fpprofiler? I can't find anything mentioning fpprofiler in
> http://bugs.freepascal.org ...
>
Can't tell. Can anyone from FPC core advise on this?
Darius
__
Can someone from the core team advise how to handle bug reports/ feature
requests for fpcprojects?
Darius
> Sorry, forgot to ask - to what category should I submit bugs for
> > fpprofiler? I can't find anything mentioning fpprofiler in
> > http://bugs.freepascal.org ...
> >
> Can't tell. Can a
On Wed, 2010-09-22 at 17:29 +0200, Michael Van Canneyt wrote:
> I created a new project fpcprojects, with subproject fpprofiler.
> You are listed as 'developer' for fpprofiler, that should be enough ?
It's all I wanted ;)
Thank you.
___
fpc-pascal mai
Whatever I tried, I cannot get TFPTimer to work. Can someone help? For
some reason the OnTimer even is never fired. Tried on Windows and Linux.
Here's a snippet I used as test.
Regards, Darius
program fptimertest;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}
cthreads,
{$ENDIF}
SysUtils, fpT
> checkSynchronize;
Thanks Burkhard. It works now.
Regards, Darius
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Has anyone ever converted the SDL_opengl header to FPC? Couldn't find it
in the repository, but perhaps someone knows if it is part of another
project.
Regards, Darius
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.o
On Tue, 2010-12-07 at 19:15 -0500, Andrew Haines wrote:
> On 12/07/10 18:23, Darius Blaszyk wrote:
> > Has anyone ever converted the SDL_opengl header to FPC? Couldn't find it
> > in the repository, but perhaps someone knows if it is part of another
> > project.
>
On Wed, 2010-12-08 at 23:06 +0100, Michalis Kamburelis wrote:
> Darius Blaszyk wrote:
> > Has anyone ever converted the SDL_opengl header to FPC? Couldn't find it
> > in the repository, but perhaps someone knows if it is part of another
> > project.
> >
>
Hi,
In my code I experience a problem with drawing stippled lines with
OpenGL. In the following example no line is drawn, but when I change
glVertex2f(40, 480); to glVertex2f(640, 480); there is a stippled line
drawn. On the other hand, when I comment glEnable(GL_LINE_STIPPLE); then
a solid line i
Thanks Reimar and Jeppe for your feedback. For developing, I'm using a
low end PC. I fact this is also what I'm targeting for. My driver and
card details are listed below.
1.3 Mesa 7.7.1
Tungsten Graphics, Inc
Mesa DRI Intel(R) 865G GEM 20091221 2009Q4 x86/MMX/SSE2
However, I would expect that on
Hi Felipe,
On Sat, 2010-12-11 at 11:39 +0100, Felipe Monteiro de Carvalho wrote:
> Your program shows this in my Mac OS X:
>
> http://img64.imageshack.us/img64/640/screencapture3p.png
This is exactly what I see on windows, and what is expected. Thanks for
confirming.
> Strange the the window do
Hi,
When updating 2.4.0 to 2.4.2 I noticed that the Ubuntu repository on
www.hu.freepascal.org, has not been updated yet. Could someone please
upload the latest versions there? Or is this something experimental
only?
TIA, Darius
___
fpc-pascal maillist
Problem solved! After installing libgl1-mesa-swx11 all problems went
away and now everything is rendered ok.
Thanks to all who helped m on this list as well as in pm.
Regards, Darius
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://li
Today after tinkering a few hours I managed to get an fpGui hello world
app running with OpenGL and GLut as back-end. It seemed even easier than
anticipated to switch the back-end. I'm happy to share code, although
due to implementation differences it will never be possible to have a
clean solution
On Sun, 2010-12-19 at 19:15 +0100, Michael Van Canneyt wrote:
>
> On Sun, 19 Dec 2010, Darius Blaszyk wrote:
>
> > Today after tinkering a few hours I managed to get an fpGui hello world
> > app running with OpenGL and GLut as back-end. It seemed even easier than
> >
On Mon, 2010-12-20 at 16:47 +0100, Reimar Grabowski wrote:
> On Mon, 20 Dec 2010 15:50:52 +0100
> wrote:
>
> > > But why is it not possible to integrate this with the regular fpGUI ?
> > > Can you explain in a couple of sentences ?
> >
> > Thats not all however, there are minusses. By using glu
> The above explains why it is useful for an application developer to
> use an openGL backend.
>
> It does not explain the following: Since fpGUI already has two
> backends (afaik, X and winap), why can't openGL a third one? Did you
> change the way fpGUI interfaces with its backend? Is this chang
On Mon, 2010-12-20 at 18:58 +0100, Darius Blaszyk wrote:
> > The above explains why it is useful for an application developer to
> > use an openGL backend.
> >
> > It does not explain the following: Since fpGUI already has two
> > backends (afaik, X and winap), why
On Thu, 2010-12-23 at 10:06 +1100, Paul Nicholls wrote:
> "Darius Blaszyk" wrote
> in message news:1292870518.1851.35.ca...@darius-desktop...
> > On Mon, 2010-12-20 at 18:58 +0100, Darius Blaszyk wrote:
> >> > The above explains why it is useful for an appl
Hi,
GLut defines callback functions, one of them is the display function, which is
defined as:
TGlutVoidCallback = procedure; cdecl;
This is set by calling glutDisplayFunc(@MyDisplayFunc);
As these functions are needed per window, I would like to encapsulate each
window in a class something
On Dec 30, 2010, at 6:09 PM, michael.vancann...@wisa.be wrote:
>
>
> On Thu, 30 Dec 2010, Jonas Maebe wrote:
>
>>
>> On 30 Dec 2010, at 17:34, Darius Blaszyk wrote:
>>
>>> As these functions are needed per window, I would like to encapsulate eac
, I can simply check in the main callback function which
window paint method to handle. Thanks for the tip!
Regards, Darius
On Dec 30, 2010, at 6:35 PM, Jonas Maebe wrote:
>
> On 30 Dec 2010, at 18:27, Darius Blaszyk wrote:
>
>> The intention is indeed to create a wrapper arou
On Dec 31, 2010, at 10:43 AM, Paul Ishenin wrote:
> 31.12.2010 7:53, Darius Blaszyk wrote:
>> I installed 2.5.1 just to test if it was possible to use static class
>> methods or not. Apparently not so it seems. It was a good try, but it
>> failed. Thanks anyway for the
On Dec 31, 2010, at 1:53 PM, José Mejuto wrote:
> Hello FPC-Pascal,
>
> Friday, December 31, 2010, 1:53:31 AM, you wrote:
>
> DB> I installed 2.5.1 just to test if it was possible to use
> DB> static class methods or not. Apparently not so it seems. It was a
> DB> good try, but it failed. Thank
On Dec 31, 2010, at 2:06 PM, Felipe Monteiro de Carvalho wrote:
> On Fri, Dec 31, 2010 at 11:01 AM, Darius Blaszyk
> wrote:
>> Thanks for the tip Paul. Unfortunately it did not help. See for the results
>> below.
>
> Using a correct type cast it should work. Which lin
On Dec 31, 2010, at 2:23 PM, Reimar Grabowski wrote:
> On Fri, 31 Dec 2010 14:03:27 +0100
> Darius Blaszyk wrote:
>
>> Unfortunately I need a platform independent method to handle this. So
>> assembler is not really the way I want to go, unless it proves to be the
>
On Jan 5, 2011, at 12:07 PM, José Mejuto wrote:
> Anyway I was looking for mingw binutils for win64 in the website
> without success, only win32 builds.
> http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/GNU-Binutils/binutils-2.21/
try: http://mingw-w64.sourceforge.net/
Darius___
Compiling my project results in a linker error on Mac. I couldn't find anything
on google so perhaps someone can help me here.
I have pasted the error messages below. I'm using : Lazarus 0.9.31 r29068M FPC
2.4.2 i386-darwin-carbon
Regards, Darius
Undefined symbols:
"_iconv_open", referenced
Hi Jonas,
You're right, I added the correct library and now it works! Thanks for that.
Regards, Darius
On Jan 22, 2011, at 12:22 PM, Jonas Maebe wrote:
>
> On 22 Jan 2011, at 11:06, Darius Blaszyk wrote:
>
>> Compiling my project results in a linker error on
On Feb 19, 2011, at 3:18 PM, Mark Morgan Lloyd wrote:
> Henry Vermaak wrote:
>> On 18 February 2011 18:19, Mark Morgan Lloyd
>> wrote:
>>> I need to trace through a program, running on two different systems which
>>> might or might not have the same OS, in order to find out where it's
>>> failin
On Mar 31, 2011, at 9:20 AM, michael.vancann...@wisa.be wrote:
>
>
> On Thu, 31 Mar 2011, Darius Blaszyk wrote:
>
>> I created a patch to make instantFPC run on win32. To make the app run I
>> implemented TProcess as windows does not understands fpexecv. Even b
On Mar 31, 2011, at 10:37 AM, michael.vancann...@wisa.be wrote:
> Do yourself a favour, and use ExecuteProcess from the sysutils unit for your
> Exec routine. It has all you need. The use of pipes is not needed when
> running the program, it will only seriously slow the running of the program.
>
On Mar 31, 2011, at 2:07 PM, michael.vancann...@wisa.be wrote:
> Ok, last request:
>
> Please use the ExecuteProcess variant with an array of string as second
> parameter.
>
> Reason: as soon as a command-line argument with spaces in it is passed to
> the script, your code will mangle the argum
Hi Felipe,
Check fp-image. I have also implemented an OpenGL rendering version once if you
need it let me know.
Regards, Darius
On Apr 1, 2011, at 3:18 PM, Felipe Monteiro de Carvalho wrote:
> Hello,
>
> I just tought I'd ask: Do we have a Pascal library for reading font
> files? TTF and oth
On Apr 1, 2011, at 3:39 PM, Felipe Monteiro de Carvalho wrote:
> Hello,
>
> Which unit exactly? I know that it has bindings to the freetype
> library (freetype.pp), but AFAIK that's it. I don't remember that it
> has Pascal code to read font files, or at least I couldn't find it if
> it has.
So
elphi/fidEAE4D251909342259720229735A9CBF6C74B15AB.aspx?s=delphi+freetype#L40
Regards, Darius
On Apr 1, 2011, at 3:54 PM, Darius Blaszyk wrote:
>
> On Apr 1, 2011, at 3:39 PM, Felipe Monteiro de Carvalho wrote:
>
>> Hello,
>>
>> Which unit exactly? I know that it has bin
On Apr 1, 2011, at 10:31 PM, Helmut Hartl wrote:
> Am 01.04.11 18:52, schrieb dhkblas...@zeelandnet.nl:
>> On Fri, 1 Apr 2011 18:44:02 +0200 (CEST), Michael Van Canneyt
>>wrote:
>>> On Fri, 1 Apr 2011, Darius Blaszyk wrote:
>>>
>>>> As it
On Apr 10, 2011, at 12:24 AM, Jonas Maebe wrote:
>
> On 10 Apr 2011, at 00:20,
> wrote:
>
>> I get strange errors when using GetMem. In my
>> app I keep on allocating and freeing memory in a variable. At a certain
>> moment I do keep getting a SIGSEGV on the GetMem call when trying to
>> all
On Apr 10, 2011, at 3:38 PM, Jonas Maebe wrote:
>
> On 10 Apr 2011, at 15:02, Darius Blaszyk wrote:
>
>> You're right that there seems to be a memleak somewhere, but it's something
>> strange, heaptrc reports 1 unfreed block and 0bytes unfreed. Never seen thi
Ah, if forgot to mention, this work is in FreeType2 as well.
Darius
On Apr 18, 2011, at 3:20 PM, Felipe Monteiro de Carvalho wrote:
> On Tue, Apr 12, 2011 at 6:43 PM, Darius Blaszyk
> wrote:
>> Hi Felipe,
>> Nice work. I have been playing with FreeType as well to have it r
On Apr 19, 2011, at 6:04 PM, Mattias Gaertner wrote:
>
>
>
> dhkblas...@zeelandnet.nl hat am 19. April 2011 um 17:48 geschrieben:
>
>> Hi,
>>
>> I'm trying to understand how message methods work in FPC. For this I created
>> a simple app that shows a message. I also created a second (iden
On Apr 23, 2011, at 7:33 PM, Mattias Gaertner wrote:
> On Sun, 27 Mar 2011 19:05:12 +0200 (CEST)
> Michael Van Canneyt wrote:
>
>>
>>
>> On Sun, 27 Mar 2011, Mattias Gaertner wrote:
>>
>>> I wrote a little tool:
>>>
>>> http://wiki.lazarus.freepascal.org/InstantFPC
>>
>> Nice job. OK to in
>> Are there any outstanding issues?
>>
> Yes I have one,
>
> I would like to request adding a pascal script executable extension to the
> tool. Someting like .ppx for instance and have the installers for fpc and
> lazarus modified to register this extension also with instantfpc.
If no-one obj
Is there any way to initialize object variables, other than writing an init
method?
So something like:
myobj = object
myvar: word = $;
end;
Regards, Darius___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/m
Hi,
I'm porting an app from delphi to lazarus and now I reached a problem when
trying to link to the library. The library comes with the .dynlib .a and all
header files. I placed them somewhere under my homedir and added the following
to my code:
{$linklib mylibrary}
I also pass the following
Thanks all for the information. I will have a read to understand the
backgrounds better.
Darius
On Aug 18, 2011, at 5:16 PM, Vincent Snijders wrote:
> 2011/8/18 :
>>
>> I'm porting a piece of code from C++ and there they use virtual inline
>> methods. I tried it in FPC but it accepts either v
On Jan 2, 2012, at 3:23 PM, Marco van de Voort wrote:
> In our previous episode, michael.vancann...@wisa.be said:
>>> the same directory as the .xml file is and from where the chm file is
>>> generated from.
>>>
>>> All relevant files and scripts are in SVN.
>>
>> CHM ? This is for Marco.
>
>
On Jan 2, 2012, at 5:31 PM, Marco van de Voort wrote:
> In our previous episode, michael.vancann...@wisa.be said:
>>> Upon reading, my first guess would be that either that specification how
>>> paths are transformed is murky (and it just "happens" to work with latex),
>>> or some transformation
On Jan 3, 2012, at 11:49 AM, Graeme Geldenhuys wrote:
> On 2 January 2012 16:23, Marco van de Voort wrote:
>> I don't think it differs from html. Some questions that come to mind:
>>
>> Upon reading, my first guess would be that either that specification how
>> paths are transformed is murky (a
Hi,
I have done a sudo make clean all. The compiler and units are built correctly
and installed in /usr/local/lib/fpc/2.7.1. The tools seems to be placed under
/usr/local/bin.
However ./fpc from command-line gives me the old 2.4.4, therefore I changed my
./profile file. So now I have 2.7.1. Ho
On Jan 12, 2012, at 9:48 PM, Jonas Maebe wrote:
>
> On 12 Jan 2012, at 21:40, Darius Blaszyk wrote:
>
>> I have done a sudo make clean all. The compiler and units are built
>> correctly and installed in /usr/local/lib/fpc/2.7.1. The tools seems to be
>>
Here's a minimal example that has the bug. First of all the first output is
wrong as it says 0,50 instead of 20,50 (so the x item is overwritten). The
second printed output differs from the first, so again the x item is
overwritten. I'm clueless.
program test;
{$mode objfpc}{$H+}
type
TVert
Hi all,
Does anyone on this list have experience in creating a native windowed
application for the mac? So far I've found no reference searching google. I
would appreciate a hint or a link to a reference I could study.
Regards, Darius Blaszyk
On Apr 10, 2012, at 2:17 PM, dh
static library.
>
> When you use codeblocks, you will need to make an adjustment to produce 64
> bit binary.
>
> It is just easier to stay with 32 bit if you can.
>
> Let us know how it turns out in 64 bit {$LINKLIB xxxx}
>
> Cheers,
>
> md
>
> On 3/19/2014
Thanks Tomas,
I did a quick test and it works perfectly!
Regards, Darius
Tomas Hajny schreef op 20 mrt '14:
> On Wed, March 19, 2014 23:49, Darius Blaszyk wrote:
>
> Hi,
>
>> I was wondering if it's possible to link FPC object files by using the $Link
&
regards, Darius Blaszyk
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
23 mrt '14:
> On 23/03/14 19:39, Darius Blaszyk wrote:
>
>> What would be the equivalent of the following struct definition in C?
>> typedef struct MyStruct { unsigned a :6; unsigned b :15; unsigned c:11;
>> }MyStruct; I imagine this is some sort of struct initializati
Hi,
I'm playing again with fpmake and I struck an issue with it. Probably
due to a wrong setup of my packages, but I cannot find a way to resolve
it. I keep on getting the following error:
Warning: Target XXX of package YYY depends on another package (ZZZ).
These kind of dependencies are not p
018F7A
$00010001A263
$00010001B5A7
$00010001A561
$00010001D030
$00010002C37E
The FPC Package tool encountered the following error: []
Execution of FPMake manifest failed
Regards, Darius
Darius Blaszyk schreef op 26 mrt '14:
> Hi,
> I'm playing again with fpmake
Hi Michael,
I have never used fppkg this way. Can you explain how I should use it?
Regards, Darius
On Mar 26, 2014, at 6:09 PM, Michael Van Canneyt wrote:
>
>
> On Wed, 26 Mar 2014, Darius Blaszyk wrote:
>
>> Hi,
>> I'm playing again with fpmake and I struck a
ed earlier.
BTW: Lots of OSS nowadays use online review tools in combination with
their bugtrackers. Would such a tool help the core developers in their
work to review and resolve patches? One interesting tool is
http://phabricator.org/ [2]
Regards, Darius
Darius Blaszyk schreef op 6 apr '
me.
http://free-pascal-general.1045716.n5.nabble.com/fpmake-dependecies-td5718762.html
[2]
Regards, Darius
Michael Van Canneyt schreef op 6 apr '14:
> On Sun, 6 Apr 2014, Darius Blaszyk wrote:
>
>> I've implemented the basic workings of package dependency in fpmkunit.
The path for the FPC executable seems to be wrong. I'm on a 64bit
machine. I will have a look to see where fppkg is getting the path from.
Could you talk me trough the procedure of fppkg Michael in general as
well?
Regards, Darius
Darius Blaszyk schreef op 6 apr '14:
&
eaner in
design.
Darius
Michael Van Canneyt schreef op 6 apr '14:
> On Sun, 6 Apr 2014, Darius Blaszyk wrote:
>
>> The path for the FPC executable seems to be wrong. I'm on a 64bit machine. I
>> will have a look to see where fppkg is getting the path from.
&g
Hi,
I'm using TP lex in my application and I would like to change the input
buffer from using files to (memory) strings. What is the supposed way to
do this? Currently I have made a local copy of lexlib and modified the
get_char (and friends) routine. However this does not seem to be the
ideal way
Hi,
When I try to compile a test app, I get an error saying the output
folder (defined by FU) cannot be created by FPC. I suppose this
behaviour is ok? Is there a way to have FPC to create the requested
folder?
fpc -FU.\test mytest.pp
Error: Can't create object file: .\test\mytest.o (error code:
Hi all,
Could someone suggest how to translate the following code to pascal?
#define prev(X) ( *( (void **) ( ((void *) (X)) - 32 ) ) )
.
prev(ptr) = prev(last);
I tried converting the macro to an inline function but I get the error
message: Error: Argument cannot be assigned to.
The fo
Hi all,
I would like to use hexadecimal values in a pyacc script. However, when
doing so pyacc thinks I am using a rule assign (or whatever the correct
term is) eg $$ := $1 as opposed to writeln(yyoutput, $76);.
Is this a shortcoming of pyacc, or do I need to escape the dollar sign
in a specific
1 - 100 of 174 matches
Mail list logo