boostorg / chrono

Boost.org chrono module
http://boost.org/libs/chrono
15 stars 52 forks source link

Fix old GCC warning about attributes in declarations #33

Closed igaztanaga closed 6 years ago

igaztanaga commented 6 years ago

"warning: type attributes are honored only at type definition"

viboes commented 6 years ago

Hi Ion,

I don't know if this has a sense for some versions of Windows. Are you sure that we don't need them in any versions?

igaztanaga commented 6 years ago

I tested the change in several MSVC compilers: I haven't found any problem with msvc-7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0 & 14.1.

viboes commented 6 years ago

Thanks