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() != '/' ) {

Change History (2)

comment:2 by Tim Kosse, 10 years ago

Resolution: fixed
Status: newclosed

Should be fixed.

Note: See TracTickets for help on using tickets.