#47273: FileZilla: error: initialization of non-aggregate type (on 10.8 only) ------------------------+-------------------------- Reporter: mojca@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: mountainlion Port: FileZilla | ------------------------+-------------------------- Description changed by mojca@…: Old description:
The [https://build.macports.org/builders/buildports-mtln- x86_64/builds/22269 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 [https://build.macports.org/builders/buildports-lion- x86_64/builds/27896 Lion] work OK.
New description: The [https://build.macports.org/builders/buildports-mtln- x86_64/builds/22269 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 [https://build.macports.org/builders/buildports-lion- x86_64/builds/27896 Lion] works OK. -- -- Ticket URL: <https://trac.macports.org/ticket/47273#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X