Modify

Ticket #7701 (closed Patches: fixed)

Opened 17 months ago

Last modified 17 months ago

locale is missing "std::" in some places

Reported by: tvaneerd@… Owned by: artyom
Milestone: To Be Determined Component: locale
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

the locale library is missing "std::" in a few places (ie sometimes on time_t, sometimes on mbstate_t), and thus doesn't compile on some configurations.

fixes attached.

Attachments

locale.diff Download (6.9 KB) - added by tvaneerd@… 17 months ago.
diff of required changes
locale.diff2 Download (2.2 KB) - added by tvaneerd@… 17 months ago.
couple more I missed

Change History

Changed 17 months ago by tvaneerd@…

diff of required changes

comment:1 Changed 17 months ago by anonymous

  • Summary changed from locale is missing "std::" in some place to locale is missing "std::" in some places

comment:2 Changed 17 months ago by artyom

On what platform does the build fails?

Also mbstate_t, ptrdiff_t, time_t are part of standard C so including stuff like <time.h> or <stddef.h> should solve the problem as well.

comment:3 Changed 17 months ago by anonymous

Fails on QNX (and/or BlackBerry10). Yes C includes should also work. But in some places std:: was already being used on those types, so I assumed it should go in that direction.

Changed 17 months ago by tvaneerd@…

couple more I missed

comment:4 Changed 17 months ago by artyom

  • Status changed from new to assigned

comment:5 Changed 17 months ago by artyom

  • Severity changed from Showstopper to Problem

comment:6 Changed 17 months ago by artyom

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [81591]) Fixed #7701 missing "std::" in some places, problem on platforms like QNX, Blackbarry

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.