U++ framework
Do not panic. Ask here before giving up.

Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Prossible bug in CppBuilder.cpp (using an import.ext correct file brings "invalid .ext file" and stops compilation)
Prossible bug in CppBuilder.cpp [message #57692] Sun, 21 November 2021 00:37
mdelfede is currently offline  mdelfede
Messages: 1313
Registered: September 2007
Ultimate Contributor
In CppBuilder.cpp, near line 379
if(p.Id("exclude_path")) {
	ExtExclude(p, packageFolder, include_path, flags);
}
else {
	p.PassId("includes");
.....

IMHO the 'else' is meaningless here, and the PassId("includes") throws an exception if "includes" is missing or in another position.
Looking into git code, the 'else' and 'PassId' were added in 2021/05; before it was

if(p.Id("exclude_path")) {
	ExtExclude(p, include_path);
}
if(p.Id("includes")) {
...


which should be correct.

Ciao

Massimo
Previous Topic: [FIXED].bsc - compile function doesn't contain target path for object files.
Next Topic: TheIDE support for Visual Studio Build Tools 2022?
Goto Forum:
  


Current Time: Sat Sep 12 00:40:04 GMT+2 2026

Total time taken to generate the page: 0.00886 seconds