Opened 10 years ago
Closed 10 years ago
#9580 closed Bug report (fixed)
locale_initializer.cpp:295: no member named 'front' in 'std::basic_string<char>'
Reported by: | Mojca Miklavec | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Client |
Keywords: | Cc: | ||
Component version: | Operating system type: | OS X | |
Operating system version: | OS X 10.7 |
Description
Commit r5537 introduced the following problem:
locale_initializer.cpp:295:28: error: no member named 'front' in 'std::basic_string<char>' if( !path.empty() && path.front() == '/' ) { ~~~~ ^ locale_initializer.cpp:296:12: error: no member named 'back' in 'std::basic_string<char>' if( path.back() != '/' ) { ~~~~ ^
when compiling FileZilla against wxGTK on Mac OS X 10.6, 10.7 and 10.8. (10.9 probably works fine because it uses a newer compiler.)
if( !path.empty() && path.front() == '/' ) { if( path.back() != '/' ) {
Note:
See TracTickets
for help on using tickets.
http://svn.filezilla-project.org/filezilla?view=revision&revision=5537