Opened 6 years ago

#7184 new Bugs

atomic_cas32() uses Linux-only compiler intrinsic

Reported by: jbaker@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: interprocess
Version: Boost 1.51.0 Severity: Problem
Keywords: Cc:

Description

atomic_cas32() incorrectly assumes _sync_val_compare_and_swap() intrinsic is available on any host OS using GCC4.1+ when, as of GCC4.4, it is only available on Linux. This renders it unportable.

Problem was observed on QNX Neutrino 6.5.0.

Change History (0)

Note: See TracTickets for help on using tickets.