Opened 2 years ago

Last modified 2 years ago

#128 new defect

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@… 2 years ago.
proposed fix

Download all attachments as: .zip

Change History (4)

by lpechacek@…, 2 years ago

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

proposed fix

comment:1 by lpechacek@…, 2 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, 2 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, 2 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

Modify Ticket

Change Properties
as new The owner will remain stuerze.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from stuerze to the selected user. Next status will be 'assigned'.
Next status will be 'needinfo'. The owner will be changed from stuerze to anonymous.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from stuerze to anonymous. Next status will be 'accepted'.

Add Comment

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