Opened 3 years ago

Closed 6 months ago

#128 closed defect (fixed)

BNC trunk fails to compile with GCC 10

Reported by: anonymous Owned by: stuerze
Priority: normal Component: BNC
Version: Keywords:


It complains about numeric comparison on a pointer. Patch is attached.

The compiler also emits lots of warnings about misleading indentation, and it's right. If there is demand, I can provide patches also for the warnings.

See also (click Download Log to see the whole build log).

Attachments (1)

v2.13-fix-build.patch (699 bytes ) - added by lpechacek@… 3 years ago.
proposed fix

Download all attachments as: .zip

Change History (5)

by lpechacek@…, 3 years ago

Attachment: v2.13-fix-build.patch added

proposed fix

comment:1 by lpechacek@…, 3 years ago

Aehm, I forgot to fill in the Reported By field. The ticket was not meant to be anonymous. Feel free to fill in my e-mail address there.

comment:2 by stuerze, 3 years ago


Unfortunately cannot see your name. But thank you very much for this fix. And please feel free to send other suggetstions.

Best regards, Andrea.

comment:3 by stuerze, 3 years ago


Thank you very much again. Your patch helps also on the compilation with MACs clang compiler.
There are a lot of other warnings regarding newmat. If you have other suggestions, please let me know.

Best regards, Andrea

comment:4 by stuerze, 6 months ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
as closed The owner will remain stuerze.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.