Author Topic: Using makefiles  (Read 3536 times)

Offline nji

  • Multiple posting newcomer
  • *
  • Posts: 58
Using makefiles
« on: March 06, 2023, 01:34:08 pm »
With respect to my other post
https://forums.codeblocks.org/index.php/topic,25324.0.html

I would like to ask if this article from the wiki referencing CB8 still holds
for CB20:

"Once you have used a makefile, attempts to compile anything without a makefile
result in a number of warnings.
The only way I have found of solving this is to reinstall CB.
If you need both perhaps it is possible to install 2 versions of CB."

https://wiki.codeblocks.org/index.php/Code::Blocks_and_Makefiles

Actually I really would like to know if I risk killing my CB install.

Maybe in CB20 everything works much more seamless than described in the article?
« Last Edit: March 06, 2023, 01:57:44 pm by nji »

Offline nji

  • Multiple posting newcomer
  • *
  • Posts: 58
Re: Using makefiles
« Reply #1 on: March 09, 2023, 01:46:56 pm »
As there are many views but no answers to my question
for some time now
I suspect the error still persists in CB (since 13 years).

I searched in the bug repository but didn't find
anything entry about it.

Perhaps someone could make an issue
"CB installation is damaged when using extern makefile".

If unexpectedly it should be fixed already
than the issue should be
"Wiki entry about using makefiles is outdated".

For the time being:

BEWARE of using extern makefiles with CB!

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3352
Re: Using makefiles
« Reply #2 on: March 09, 2023, 09:59:43 pm »
I do not think that this warning is still relevant and i have added a warning about outdated information and removed the warning about breaking installation. This is a configuration error (overwriting some global compiler options probably) and not a codeblocks error

[edit:] if you try it out, feel free to update the wiki, every forum user should have access to the wiki :)

Offline nji

  • Multiple posting newcomer
  • *
  • Posts: 58
Re: Using makefiles
« Reply #3 on: March 10, 2023, 12:12:23 am »
Thanks.

I don't know enough about CB's internals - the difference between config error and codeblock error for example.

Moreover at this time I can't dare to damage my CB installatiion, due to pressing time schedule.
But maybe there will be someone who used a makefile in the last 13 years, and will tell.