Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development


<< < (4/4)


Plugin for nightly build; I hope I did it correctly.

Tim S.

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


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

--- End quote ---

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.


Tim S.

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 :
Cheers !


[0] Message Index

[*] Previous page

Go to full version