Opened 12 years ago

Closed 12 years ago

#4508 closed Patches (fixed)

bsd.hpp assumes __NetBSD_GCC__ is defined

Reported by: Jelle Geerts <jellegeerts@…> Owned by: John Maddock
Milestone: Boost 1.44.0 Component: config
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

On OpenBSD, when compiling a project of mine, I noticed that bsd.hpp assumes NetBSD_GCC is defined, which gave a compilation error because I use gcc with -Werror.

So, I simply fixed the line that caused the error. Please see the attached patch for the fix.

Attachments (1)

bsd.hpp.patch (514 bytes ) - added by Jelle Geerts <jellegeerts@…> 12 years ago.

Download all attachments as: .zip

Change History (3)

by Jelle Geerts <jellegeerts@…>, 12 years ago

Attachment: bsd.hpp.patch added

comment:1 by Jelle Geerts <jellegeerts@…>, 12 years ago

Type: BugsPatches

comment:2 by John Maddock, 12 years ago

Resolution: fixed
Status: newclosed

(In [64749]) Suppress gcc warnings. Fixes #4508.

Note: See TracTickets for help on using tickets.