Project

General

Profile

Actions

Bug #9714

closed

libstand: dereferencing type-punned pointer will break strict-aliasing rules

Added by Toomas Soome almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2018-08-08
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

The gcc 4.4.4 issue (gcc 7 does not complain).

    cc1: warnings being treated as errors
    /code/illumos-gate/usr/src/boot/lib/libstand/cd9660.c: In function 'cd9660_open':
    /code/illumos-gate/usr/src/boot/lib/libstand/cd9660.c:306: error: dereferencing type-punned pointer will break strict-aliasing rules

Actions

Also available in: Atom PDF