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
Messages: 1307 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
|
|
|
Goto Forum:
Current Time: Fri Mar 29 15:49:46 CET 2024
Total time taken to generate the page: 0.01661 seconds
|