Opened 9 years ago

Last modified 9 years ago

#47273 closed defect

FileZilla: error: initialization of non-aggregate type (on 10.8 only) — at Initial Version

Reported by: mojca (Mojca Miklavec) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: mountainlion Cc: rudloff@…
Port: FileZilla

Description

The Mountain Lion buildbot fails with:

/usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../../src/include  -I./../include -I/opt/local/include -I/opt/local/include/p11-kit-1 -I/opt/local/include  -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/lib/wx/include/osx_cocoa-unicode-3.0 -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -I/opt/local/include -fpch-preprocess -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/lib/wx/include/osx_cocoa-unicode-3.0 -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -g -std=gnu++11 -MT libengine_a-event_handler.o -MD -MP -MF .deps/libengine_a-event_handler.Tpo -c -o libengine_a-event_handler.o `test -f 'event_handler.cpp' || echo './'`event_handler.cpp
engineprivate.cpp:15:63: error: initialization of non-aggregate type 'std::atomic_int' (aka 'atomic<int>') with an initializer list
std::atomic_int CFileZillaEnginePrivate::m_activeStatus[2] = {{0}, {0}};
                                                              ^~~
engineprivate.cpp:15:68: error: initialization of non-aggregate type 'std::atomic_int' (aka 'atomic<int>') with an initializer list
std::atomic_int CFileZillaEnginePrivate::m_activeStatus[2] = {{0}, {0}};
                                                                   ^~~

While Lion work OK.

Change History (0)

Note: See TracTickets for help on using tickets.