Opened 7 years ago
Closed 7 years ago
#2019 closed defect (fixed)
Conflict with "isblank" when building using g++ 5.4.0
Reported by: | riza | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-2.7 |
Component: | pjlib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description
On g++ 5.4.0, when using locale_facets.h there is this definition:
#if __cplusplus >= 201103L /// Convenience interface to ctype.is(ctype_base::blank, __c). template<typename _CharT> inline bool isblank(_CharT __c, const locale& __loc) { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::blank, __c); } #endif
Resulting a conflict with isblank Macro definition in pjlib/include/pj/compat/ctype.h.
This patch will remove the Macro definition and use it directly to pj_isblank().
Change History (1)
comment:1 Changed 7 years ago by riza
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
In 5599: