hello jaskin
UEZ posted a Winn 11 console here viewtopic.php?p=301467#p301467
it might be of interest to you, also see Simple WinAPI GUI
dodicat, very nice demo
Search found 3342 matches
- Mar 21, 2024 15:34
- Forum: General
- Topic: screenres with a vertical scroll bar
- Replies: 16
- Views: 1002
- Mar 20, 2024 12:34
- Forum: General
- Topic: -gen clang
- Replies: 64
- Views: 3639
Re: -gen clang
hi deltarho[1859]
interesting results, I take it that you were able to compile Encrypternet with clang?
interesting results, I take it that you were able to compile Encrypternet with clang?
- Mar 19, 2024 12:33
- Forum: Community Discussion
- Topic: Bugs
- Replies: 115
- Views: 21618
Re: Bugs
dodicat, the reason for your test puzzles me, surely you know that the variable k will be out of scope after calling test, but FB doesn't warn or complain however gcc-13.2 and up give this warning warning: storing the address of local variable 'K$1' in '*S$1' [-Wdangling-pointer=]
- Mar 19, 2024 12:23
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 270
- Views: 26111
Re: Freebasic 1.20.0 Development
I concur with Lost Zergling
thank you coderJeff and fxm
thank you coderJeff and fxm
- Mar 17, 2024 16:47
- Forum: General
- Topic: -gen clang
- Replies: 64
- Views: 3639
- Mar 17, 2024 15:48
- Forum: General
- Topic: -gen clang
- Replies: 64
- Views: 3639
Re: -gen clang
for anyone on Windows wanting to try FB with clang, I suggest the following download and extract FreeBASIC-1.10.1-winlibs-gcc-9.3.0.7z from https://www.freebasic.net/forum/viewtopic.php?t=32498 delete fbc32.exe and fbc64.exe download the latest build of fbc windows from https://users.freebasic-porta...
- Mar 17, 2024 3:43
- Forum: General
- Topic: -gen clang
- Replies: 64
- Views: 3639
Re: -gen clang
I have to make a correction ... the variables get ucased and a $1 is appended to the right ... for a shared variable only $ gets added for variables in the main module, $0 gets added in general, $n gets added to the variable name where n is the scope level, example #cmdline "-w all -arch native...
- Mar 16, 2024 11:19
- Forum: General
- Topic: -gen clang
- Replies: 64
- Views: 3639
Re: -gen clang
deltarho[1859], here's my suggestion, use as little asm as possible #if __FB_ASM__ = "intel" function rdtsc naked cdecl() as ulong asm rdtsc ret end asm end function #else function rdtsc naked cdecl() as ulong asm "rdtsc \n ret" end function #endif ' *****************************...
- Mar 15, 2024 21:26
- Forum: General
- Topic: -gen clang
- Replies: 64
- Views: 3639
Re: -gen clang
Hi deltarho[1859]
that function was only an example, it was intended as helper function if one wanted to go that route but the all-in-one looks better
that function was only an example, it was intended as helper function if one wanted to go that route but the all-in-one looks better
- Mar 15, 2024 12:53
- Forum: General
- Topic: -gen clang
- Replies: 64
- Views: 3639
Re: -gen clang
deltarho[1859], I recommend that you use the basic version of the function HammingSeed64, inline asm in FB is like playing the Russian roulette, it's totally unreliable, there might be an exception if you strictly use gcc extended asm but I could never wrap my head around it's intricacies, example o...
- Mar 15, 2024 2:39
- Forum: General
- Topic: -gen clang
- Replies: 64
- Views: 3639
Re: -gen clang
I then tried with a helper naked function, the 64-bit works with gcc but not the 32-bit, both work with clang, can you spot the error in my code? #cmdline "-asm att -w all -arch native -gen clang -Wc -O2" #ifdef __FB_WIN32__ #ifdef __FB_64BIT__ Function HammingSeed64a naked cdecl(Byref tsc...
- Mar 15, 2024 2:31
- Forum: General
- Topic: -gen clang
- Replies: 64
- Views: 3639
Re: -gen clang
regarding the seeding function by deltarho[1859] in his MsWsII.bas code https://www.freebasic.net/forum/viewtopic.php?t=31616&hilit=MsWsII.bas I did some tests and something is wrong, the following works with clang but not with gcc #cmdline "-asm att -w all -arch native -gen clang -Wc -O2&q...
- Mar 15, 2024 2:17
- Forum: General
- Topic: -gen clang
- Replies: 64
- Views: 3639
Re: -gen clang
maybe it's the browser?
I normally use Firefox but I am posting this from the edge browser seems to work for me
I see that it works for dodicat
I normally use Firefox but I am posting this from the edge browser seems to work for me
I see that it works for dodicat
- Mar 15, 2024 1:12
- Forum: General
- Topic: -gen clang
- Replies: 64
- Views: 3639
Re: -gen clang
thank you deltarho[1859] for your comments
thank you dodicat, it's good to share ideas and code
btw, on Windows if you press the Windows key and the . key then you will get a popup dialog with some emoji that you can use on this forum, example
thank you dodicat, it's good to share ideas and code
btw, on Windows if you press the Windows key and the . key then you will get a popup dialog with some emoji that you can use on this forum, example
- Mar 13, 2024 22:22
- Forum: General
- Topic: clang recommendation
- Replies: 0
- Views: 662
clang recommendation
the gcc toolchain distributed by Equation Solutions is for the most part statically linked, so I thought what would happen if I added clang ? so I chose the llvm toolchain by https://github.com/mstorsjo/llvm-mingw/releases as in my previous experiment I added clang.exe and try to compile, it gave th...