Search found 151 matches

by Juergen Kuehlwein
Feb 03, 2019 14:28
Forum: Beginners
Topic: Compiling the runtime library
Replies: 16
Views: 1263

Compiling the runtime library

Trying to compile the runtime i ran into this problem: CC src/rtlib/obj/win32/thread_call.o In file included from src/rtlib/thread_call.c:33:0: E:/MinGW/mingw32/i686-w64-mingw32/include/ffi.h:61:9: error: macro names must be identifiers #ifndef @TARGET@ ^ compilation terminated due to -Wfatal-errors...
by Juergen Kuehlwein
Feb 03, 2019 13:10
Forum: Projects
Topic: FreeBASIC IDE with enhanced debugging and project features
Replies: 44
Views: 5891

Re: FreeBASIC IDE with enhanced debugging and project features

Hi all,

V 2.4.5.3 is online, there was an unnecessary error message starting PB-Forms or the Visual Designer, when there were no open files in the IDE

JK
by Juergen Kuehlwein
Jan 29, 2019 17:14
Forum: Beginners
Topic: Unicode and files
Replies: 10
Views: 872

Re: Unicode and files

Thanks for the info!

JK
by Juergen Kuehlwein
Jan 28, 2019 17:56
Forum: Beginners
Topic: Unicode and files
Replies: 10
Views: 872

Unicode and files

Reading the docs, it seems i cannot have unicode file names , but i can read and write unicode data . And this is independent of the file encoding, i can read and write WSTRINGs from and to an ASCII encoded file, so basically unicode strings work with files, but real unicode file names fail. If you ...
by Juergen Kuehlwein
Jan 20, 2019 16:03
Forum: Beginners
Topic: Array pointer
Replies: 5
Views: 333

Re: Array pointer

I need this for a generic array sort macro


JK
by Juergen Kuehlwein
Jan 19, 2019 15:27
Forum: Beginners
Topic: Array pointer
Replies: 5
Views: 333

Re: Array pointer

Wow, quite tricky to get a pointer to the array descriptor, but it works - thanks for sharing!

JK
by Juergen Kuehlwein
Jan 19, 2019 13:36
Forum: Beginners
Topic: Array pointer
Replies: 5
Views: 333

Array pointer

Is there a method of retrieving a pointer to an array´s data (the first data element to be exact) without knowing the number of dimensions of this array ? Consider the following code: dim a(1 to 5) as long dim b(1 to 5, 1 to 6) as short dim s as long s = sizeof(typeof((a))) print "sizeof(a) &qu...
by Juergen Kuehlwein
Jan 15, 2019 17:01
Forum: Beginners
Topic: Compiler tests
Replies: 15
Views: 878

Re: Compiler tests

Jeff, St_W,


i can run the tests now without getting errors, thanks for your help!


JK
by Juergen Kuehlwein
Jan 10, 2019 21:28
Forum: Beginners
Topic: Compiler tests
Replies: 15
Views: 878

Re: Compiler tests

Jeff,


thanks for your help! As per your recommendation i use MSYS2 for a command shell, which comes with it´s own version of gcc. So a different gcc and different a codepage make the difference :-)


JK
by Juergen Kuehlwein
Jan 09, 2019 22:47
Forum: Beginners
Topic: Compiler tests
Replies: 15
Views: 878

Re: Compiler tests

Jeff,

Running "make unit-tests" i see 10 fails in wstring\utf_conv.bas - is this correct ?

JK
by Juergen Kuehlwein
Jan 09, 2019 16:33
Forum: Beginners
Topic: Compiler tests
Replies: 15
Views: 878

Re: Compiler tests

Thanks Jeff, so the point is, it cannot be run from a Windows command prompt at all. I must use a different shell, which has to be installed first on Windows. for "make unit-tests DIRLIST=pretest" i get: make -f unit-tests.mk make[1]: Verzeichnis „/d/freebasic/jk-fork/tests“ wird betreten ...
by Juergen Kuehlwein
Jan 08, 2019 20:49
Forum: Beginners
Topic: Compiler tests
Replies: 15
Views: 878

Re: Compiler tests

I provided a "latter" part of my answer. IOW printf doesn't match _printf. forgive me my ignorance - i have absolutely no experience with make or makefiles. Printf is a C function for formatted output. I really don´t get the point. Please explain more or tell me where to get useful info. ...
by Juergen Kuehlwein
Jan 08, 2019 19:42
Forum: Beginners
Topic: Compiler tests
Replies: 15
Views: 878

Re: Compiler tests

marcov,

you as a Dutch shouldn´t have much of a problem translating the German sentence, maybe others might have had.

The "C" runtime is present and according to dependency walker nothing "mission critical" is missing. What to try next ?


Thanks


JK
by Juergen Kuehlwein
Jan 08, 2019 18:16
Forum: Beginners
Topic: Compiler tests
Replies: 15
Views: 878

Compiler tests

I want to run the compiler test suite in the "\tests" folder of the source code package under Windows (Win 7 home 64 bit, to be specific) I downloaded GNU make and put the binaries (make.exe, lidiconv2.dll and libintl3.dll) into the \tests folder. Now i open a command prompt in this folder...
by Juergen Kuehlwein
Jan 08, 2019 15:36
Forum: Beginners
Topic: Array as overlay
Replies: 14
Views: 506

Re: Array as overlay

Now you opt for the reverse Well, sorry - sometimes everyone of us tends to approach a problem with a specific solution in mind (just because this kind of solution worked elsewhere). This mind set prevents you from taking a step back. The solution here is so easy, if you just do it the other way ro...

Go to advanced search