News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

GitBlock

Started by uriotcea, April 13, 2023, 04:54:57 PM

Previous topic - Next topic

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Miguel Gimenez

GitBlocks::Configure() should return 0 to avoid a compilation warning

stahta01

#17
Quote from: Miguel Gimenez on April 14, 2023, 06:49:13 PM
GitBlocks::Configure() should return 0 to avoid a compilation warning

I am not editing code fixes for warnings; because it resulted in several  dozen lines being change for removing spaces in the file.
Also, I think it should likely have code added to it; because a function that has only a return 0 in it is likely not finished.

Edit: I added the return 0 after turning off some CB options so only that line was changed.
I still wonder if that was a good idea; but, I figure it was an dead repo for the last 6 to 10 years.

Edit2: I just used wxSmith to regenerate many of the files in this project.

Edit3: https://github.com/stahta01/GitBlocks

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

MoiCJarod

Hello !
I just managed to compile the plugin on an Ubuntu 22.04 (why only a Windows Release ?). I was able to copy the file on a fresh install of code::blocks on a virtual machine and it just worked. I swated blood to achieve this, so I want to share the obtained file :
http://gofile.me/3fqRi/zGalYdJZh
Cheers !