Search found 3338 matches
- Apr 12, 2024 12:33
- Forum: Libraries & Headers
- Topic: gcc built_in functions
- Replies: 6
- Views: 443
Re: gcc built_in functions
hello deltarho[1859] :) I edited my opening post and included a link for the binaries, I also included the random functions the following works with clang but not with gcc unless you use gcc-9.3.0 from winlibs extern "C" declare function __builtin_ia32_rdrand16_step (byref as ushort) as ul...
- Apr 11, 2024 22:10
- Forum: Libraries & Headers
- Topic: gcc built_in functions
- Replies: 6
- Views: 443
gcc built_in functions
calling the gcc __builtin functions from FB don't necessarily work with all toolchains, one solution is to make a wrapper lib of your favorite __builtin functions checking for cpu features can be handy so that one doesn't have to resort to inline asm to compile with gcc do gcc -c -O2 built_in.c then...
- Apr 10, 2024 1:16
- Forum: Libraries Questions
- Topic: Cairo DLL creation
- Replies: 16
- Views: 992
Re: Cairo DLL creation
hello Roland Chastain
this looks promising, but the cairo version that's included in their build is version 1.16.0, it remains to be seen if it will build the latest version
this looks promising, but the cairo version that's included in their build is version 1.16.0, it remains to be seen if it will build the latest version
Code: Select all
#include "cairo\Cairo.bi"
? *cairo_version_string
Sleep
- Apr 08, 2024 21:02
- Forum: Libraries Questions
- Topic: Cairo DLL creation
- Replies: 16
- Views: 992
Re: Cairo DLL creation
hello UEZ I tried building the dll but the source is only a build script, the script downloads the source for cairo, pixman, png and zlib the problem is that the Visual Studio project files are not included, it tries to download the project files from dev.com which seems to be extinct I tried to con...
- Apr 05, 2024 16:00
- Forum: General
- Topic: -gen clang
- Replies: 64
- Views: 3270
Re: -gen clang
hello deltarho[1859] :) the link to the binaries https://github.com/llvm/llvm-project/releases/tag/llvmorg-18.1.3 surprised me, the 64-bit clang.exe depends only on installed Windows dlls, it's size is 114 MB but it's pretty much standalone :D here's the list of dll dependencies for clang.exe 64-bit...
- Mar 29, 2024 20:58
- Forum: Sources, Examples, Tips and Tricks
- Topic: Rounding numbers
- Replies: 48
- Views: 4780
Re: Rounding numbers
hello coderJeff :) "Is the logic on line str_format.c:335 related to that?" I don't know, to me the format function is a mystery and counter intuitive, a function to be avoided I didn't know that the FB format function was modeled after vbdos, I just tried to rewrite the format helper in v...
- Mar 27, 2024 23:37
- Forum: Sources, Examples, Tips and Tricks
- Topic: Rounding numbers
- Replies: 48
- Views: 4780
Re: Rounding numbers
about 5 years ago I made a bug report about the format function returning a zero with an exponent, sometime after, one of the FB developers contacted me about it, he wanted me to confirm that a certain format was correct but I am not a format expert, so I wrote a small VB6 program that would take a ...
- Mar 27, 2024 23:28
- Forum: Sources, Examples, Tips and Tricks
- Topic: Cairo animated spiral
- Replies: 11
- Views: 617
Re: Cairo animated spiral
now I wish that I had the witty humor of Pete from the QB64 forum
deltarho[1859], I wondered what the tee was about but never curious enough to find out
deltarho[1859], I wondered what the tee was about but never curious enough to find out
- Mar 27, 2024 13:25
- Forum: Sources, Examples, Tips and Tricks
- Topic: Cairo animated spiral
- Replies: 11
- Views: 617
Re: Cairo animated spiral
hello Makoto WATANABE
you are missing the cairo library, you can find an all-in-one cairo dll here https://github.com/preshing/cairo-windows/releases
just place the dll in the same location where your program resides
you are missing the cairo library, you can find an all-in-one cairo dll here https://github.com/preshing/cairo-windows/releases
just place the dll in the same location where your program resides
- Mar 25, 2024 19:46
- Forum: Sources, Examples, Tips and Tricks
- Topic: Rounding numbers
- Replies: 48
- Views: 4780
Re: Rounding numbers
@coderJeff I tried hhr suggestion and it seems that he is right, however, I don't know if there are cases where the suggested change would cause a problem. the format function is a complex beast and it seems that it's not finished, I know that it fails the tests with gcc-13.2 and up I have now built...
- Mar 21, 2024 20:32
- Forum: General
- Topic: screenres with a vertical scroll bar
- Replies: 16
- Views: 830
Re: screenres with a vertical scroll bar
then perhaps the examples in Charles Petzold book "Programming Windows" will be of interest https://archive.org/details/programming ... mpanion-cd
- Mar 21, 2024 15:34
- Forum: General
- Topic: screenres with a vertical scroll bar
- Replies: 16
- Views: 830
Re: screenres with a vertical scroll bar
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
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
- Mar 20, 2024 12:34
- Forum: General
- Topic: -gen clang
- Replies: 64
- Views: 3270
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: 21192
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: 269
- Views: 24640
Re: Freebasic 1.20.0 Development
I concur with Lost Zergling
thank you coderJeff and fxm
thank you coderJeff and fxm