Project

General

Profile

Actions

Bug #11617

closed

GCC 12 fails to compile cif.c

Added by Evgeny Novikov almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
High
Category:
Core
Start date:
05/26/2022
Due date:
% Done:

0%

Estimated time:
Detected in build:
git
Platform:
Published in build:

Description

Ilya tried to use host GCC 12 to build CIF, but it fails with some issues when compiling "cif.c". Let's investigate and fix it.

Actions #1

Updated by Evgeny Novikov almost 2 years ago

  • Status changed from New to Closed

Indeed, these warnings are almost benign. Nevertheless, I fixed them in b88cad7. It prevents issuing of those warnings by introducing a special function for concatenation of strings and restriction of the resulting string length (likely the compiler does not understand this while it does not find previous suspicious patterns anymore).

Actions #2

Updated by Evgeny Novikov almost 2 years ago

I fixed the critical, subtle issue introduced in b88cad7 in next 53271d7.

Actions #3

Updated by Evgeny Novikov over 1 year ago

Another issue was revealed at using Klever. It was fixed in 4712285.

Actions

Also available in: Atom PDF