Opened 5 years ago

Last modified 4 years ago

#13345 new Bugs

Possible misses of comma operator

Reported by: dev@… Owned by: Marshall Clow
Milestone: To Be Determined Component: array
Version: Boost 1.65.0 Severity: Cosmetic
Keywords: Cc:

Description

When compiling my project with boost 1.65.1 i got the warning: "Possible misses of comma operator here" for a few files. Please use brackets to avoid the warning.

file/linenumber

array.hpp/186

feed_args.hpp/56

os_file_functions.hpp/546

macOS: 10.13.2 Xcode: 9.2 (9C40b)

Change History (4)

comment:1 by anonymous, 5 years ago

Severity: ProblemCosmetic

comment:2 by John Maddock, 4 years ago

Component: Nonearray
Owner: set to Marshall Clow

Not sure if this is the right library...

comment:3 by Marshall Clow, 4 years ago

The one in array is not a bug. However, I will look into silencing the warning.

The one in format/feed_args.hpp, looks odd, but harmless.

The one in interprocess/detail/os_file_functions.hpp (repeated 4x) is also odd, but correct as far as I can tell.

comment:4 by dev@…, 4 years ago

No one of them is a bug. I only get compiler warnings from Xcode because of missing brackets. Adding the the brackets, will avoid these warnings.

thx

Note: See TracTickets for help on using tickets.