Search found 95 matches

by Juergen Kuehlwein
Feb 16, 2019 13:19
Forum: Beginners
Topic: Alias
Replies: 3
Views: 93

Re: Alias

Ok, good to know that - thanks

JK
by Juergen Kuehlwein
Feb 16, 2019 12:44
Forum: Beginners
Topic: Alias
Replies: 3
Views: 93

Alias

What is wrong with my code? '#compiler freebasic '#compile console 32 function my_func2 (byval z as zstring ptr) as long '*********************************************************************************************** ' '*******************************************************************************...
by Juergen Kuehlwein
Feb 03, 2019 22:14
Forum: Beginners
Topic: Compiling the runtime library
Replies: 3
Views: 134

Re: Compiling the runtime library

I finally ran a successful built!

JK
by Juergen Kuehlwein
Feb 03, 2019 18:39
Forum: Beginners
Topic: Compiling the runtime library
Replies: 3
Views: 134

Re: Compiling the runtime library

It sounds like maybe you've taken the ffi.h.in file, and renamed it?

Yes, that´s what i did.

That file has to pass through the configure/make process to fill in some of the variables, in order to become a valid header file that works with your target.

Thanks, i didn´t know that!


JK
by Juergen Kuehlwein
Feb 03, 2019 14:28
Forum: Beginners
Topic: Compiling the runtime library
Replies: 3
Views: 134

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: 40
Views: 4275

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: 6
Views: 212

Re: Unicode and files

Thanks for the info!

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

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: 184

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: 184

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: 184

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: 526

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: 526

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: 526

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: 526

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 ...

Go to advanced search