Home » Community » U++ community news and announcements » 2020.1 officially released
Re: 2020.1 officially released [message #54113 is a reply to message #54109] |
Mon, 01 June 2020 21:35   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
There is another unexpected problem with Clang on Windows.
If I add "-std=c++17" to cpp options, then in case of GUI app (example: tutorial/Gui01) in Debug configuration I get this (Release is fine):
Linking...
lld-link: error: duplicate symbol: std::__throw_bad_alloc()
>>> defined at c:\local\apps\upp\uppsrc\Core\heap.cpp:315
>>> c:/local/apps/upp/out/tutorial/Core/CLANGx64cpp17.Debug.Debug_Full.Gui\heap.o
>>> defined at libc++.a(new.cpp.obj)
lld-link: error: duplicate symbol: operator new(unsigned long long)
>>> defined at c:\local\apps\upp\uppsrc\Core\heap.cpp:301
>>> c:/local/apps/upp/out/tutorial/Core/CLANGx64cpp17.Debug.Debug_Full.Gui\heap.o
>>> defined at libc++.a(new.cpp.obj)
lld-link: error: duplicate symbol: operator new(unsigned long long, std::nothrow_t const&)
>>> defined at c:\local\apps\upp\uppsrc\Core\heap.cpp:307
>>> c:/local/apps/upp/out/tutorial/Core/CLANGx64cpp17.Debug.Debug_Full.Gui\heap.o
>>> defined at libc++.a(new.cpp.obj)
lld-link: error: duplicate symbol: operator new[](unsigned long long)
>>> defined at c:\local\apps\upp\uppsrc\Core\heap.cpp:304
>>> c:/local/apps/upp/out/tutorial/Core/CLANGx64cpp17.Debug.Debug_Full.Gui\heap.o
>>> defined at libc++.a(new.cpp.obj)
lld-link: error: duplicate symbol: operator new[](unsigned long long, std::nothrow_t const&)
>>> defined at c:\local\apps\upp\uppsrc\Core\heap.cpp:310
>>> c:/local/apps/upp/out/tutorial/Core/CLANGx64cpp17.Debug.Debug_Full.Gui\heap.o
>>> defined at libc++.a(new.cpp.obj)
lld-link: error: duplicate symbol: operator delete(void*)
>>> defined at c:\local\apps\upp\uppsrc\Core\heap.cpp:302
>>> c:/local/apps/upp/out/tutorial/Core/CLANGx64cpp17.Debug.Debug_Full.Gui\heap.o
>>> defined at libc++.a(new.cpp.obj)
lld-link: error: duplicate symbol: operator delete(void*, std::nothrow_t const&)
>>> defined at c:\local\apps\upp\uppsrc\Core\heap.cpp:308
>>> c:/local/apps/upp/out/tutorial/Core/CLANGx64cpp17.Debug.Debug_Full.Gui\heap.o
>>> defined at libc++.a(new.cpp.obj)
lld-link: error: duplicate symbol: operator delete[](void*)
>>> defined at c:\local\apps\upp\uppsrc\Core\heap.cpp:305
>>> c:/local/apps/upp/out/tutorial/Core/CLANGx64cpp17.Debug.Debug_Full.Gui\heap.o
>>> defined at libc++.a(new.cpp.obj)
lld-link: error: duplicate symbol: operator delete[](void*, std::nothrow_t const&)
>>> defined at c:\local\apps\upp\uppsrc\Core\heap.cpp:311
>>> c:/local/apps/upp/out/tutorial/Core/CLANGx64cpp17.Debug.Debug_Full.Gui\heap.o
>>> defined at libc++.a(new.cpp.obj)
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
Because STD_NEWDELETE is defined, and it gets defined in config.h here:
#ifdef flagCLR
#define flagUSEMALLOC
#define STD_NEWDELETE
#endif
I have no idea where flagCLR is coming from ...
wine umk tutorial Gui01 CLANGx64cpp17 -bu
Regards,
Novo
|
|
|
 |
|
2020.1 officially released
By: mirek on Fri, 08 May 2020 16:26
|
 |
|
Re: 2020.1 officially released
By: Tom1 on Fri, 08 May 2020 19:08
|
 |
|
Re: 2020.1 officially released
By: forlano on Fri, 08 May 2020 22:09
|
 |
|
Re: 2020.1 officially released
By: deep on Sat, 09 May 2020 16:27
|
 |
|
Re: 2020.1 officially released
|
 |
|
Re: 2020.1 officially released
By: h3l1 on Wed, 13 May 2020 11:33
|
 |
|
Re: 2020.1 officially released
By: mirek on Wed, 13 May 2020 14:02
|
 |
|
Re: 2020.1 officially released
By: Novo on Fri, 15 May 2020 16:17
|
 |
|
Re: 2020.1 officially released
By: mirek on Sat, 16 May 2020 09:33
|
 |
|
Re: 2020.1 officially released
By: Novo on Sat, 16 May 2020 13:32
|
 |
|
Re: 2020.1 officially released
By: Novo on Sat, 16 May 2020 13:38
|
 |
|
Re: 2020.1 officially released
By: Novo on Sat, 16 May 2020 13:54
|
 |
|
Re: 2020.1 officially released
By: Novo on Sat, 30 May 2020 06:31
|
 |
|
Re: 2020.1 officially released
By: Novo on Sat, 30 May 2020 07:13
|
 |
|
Re: 2020.1 officially released
By: mirek on Sat, 30 May 2020 08:57
|
 |
|
Re: 2020.1 officially released
By: Novo on Sat, 30 May 2020 22:16
|
 |
|
Re: 2020.1 officially released
By: Novo on Sat, 30 May 2020 22:52
|
 |
|
Re: 2020.1 officially released
By: mirek on Sun, 31 May 2020 23:13
|
 |
|
Re: 2020.1 officially released
By: Novo on Mon, 01 June 2020 00:36
|
 |
|
Re: 2020.1 officially released
By: mirek on Mon, 01 June 2020 10:19
|
 |
|
Re: 2020.1 officially released
By: mirek on Mon, 01 June 2020 10:23
|
 |
|
Re: 2020.1 officially released
By: koldo on Mon, 01 June 2020 14:17
|
 |
|
Re: 2020.1 officially released
By: Novo on Mon, 01 June 2020 21:35
|
 |
|
Re: 2020.1 officially released
By: Novo on Mon, 01 June 2020 23:31
|
 |
|
Re: 2020.1 officially released
By: mirek on Mon, 01 June 2020 23:34
|
 |
|
Re: 2020.1 officially released
By: mirek on Thu, 04 June 2020 10:37
|
 |
|
Re: 2020.1 officially released
By: Novo on Fri, 05 June 2020 22:24
|
 |
|
Re: 2020.1 officially released
By: mirek on Sat, 06 June 2020 10:30
|
 |
|
Re: 2020.1 officially released
By: Novo on Sun, 07 June 2020 15:22
|
 |
|
Re: 2020.1 officially released
By: Novo on Sun, 07 June 2020 15:45
|
 |
|
Re: 2020.1 officially released
By: Novo on Sun, 07 June 2020 16:08
|
 |
|
Re: 2020.1 officially released
By: Novo on Sun, 07 June 2020 16:52
|
 |
|
Re: 2020.1 officially released
By: Novo on Mon, 01 June 2020 21:41
|
 |
|
Re: 2020.1 officially released
By: mirek on Mon, 01 June 2020 21:46
|
 |
|
Re: 2020.1 officially released
By: mirek on Mon, 01 June 2020 21:53
|
 |
|
Re: 2020.1 officially released
By: mirek on Mon, 01 June 2020 22:16
|
 |
|
Re: 2020.1 officially released
By: Novo on Mon, 01 June 2020 22:40
|
 |
|
Re: 2020.1 officially released
By: Novo on Mon, 01 June 2020 23:07
|
 |
|
Re: 2020.1 officially released
By: Novo on Mon, 01 June 2020 23:10
|
 |
|
Re: 2020.1 officially released
By: Novo on Mon, 01 June 2020 23:27
|
 |
|
Re: 2020.1 officially released
By: mirek on Mon, 01 June 2020 23:32
|
 |
|
Re: 2020.1 officially released
By: Novo on Tue, 02 June 2020 16:35
|
 |
|
Re: 2020.1 officially released
By: mirek on Tue, 02 June 2020 17:40
|
 |
|
Re: 2020.1 officially released
By: Novo on Tue, 02 June 2020 18:56
|
 |
|
Re: 2020.1 officially released
By: mirek on Tue, 02 June 2020 21:07
|
 |
|
Re: 2020.1 officially released
By: Novo on Tue, 02 June 2020 21:20
|
 |
|
Re: 2020.1 officially released
By: mirek on Tue, 02 June 2020 21:27
|
 |
|
Re: 2020.1 officially released
By: Novo on Tue, 02 June 2020 21:33
|
 |
|
Re: 2020.1 officially released
|
 |
|
Re: 2020.1 officially released
By: mirek on Wed, 03 June 2020 12:46
|
 |
|
Re: 2020.1 officially released
|
 |
|
Re: 2020.1 officially released
By: Tom1 on Wed, 03 June 2020 09:28
|
 |
|
Re: 2020.1 officially released
By: mirek on Tue, 02 June 2020 10:31
|
 |
|
Re: 2020.1 officially released
By: Novo on Tue, 02 June 2020 16:24
|
 |
|
Re: 2020.1 officially released
By: mirek on Sat, 30 May 2020 08:55
|
 |
|
Re: 2020.1 officially released
By: Novo on Sat, 30 May 2020 17:10
|
 |
|
Re: 2020.1 officially released
By: Novo on Sat, 30 May 2020 17:56
|
 |
|
Re: 2020.1 officially released
By: Novo on Sat, 30 May 2020 17:57
|
 |
|
Re: 2020.1 officially released
By: Novo on Tue, 02 June 2020 21:26
|
 |
|
Re: 2020.1 officially released
By: Novo on Tue, 02 June 2020 21:39
|
 |
|
Re: 2020.1 officially released
By: Novo on Wed, 03 June 2020 01:30
|
 |
|
Re: 2020.1 officially released
By: mirek on Wed, 03 June 2020 13:51
|
 |
|
Re: 2020.1 officially released
By: Novo on Wed, 03 June 2020 16:16
|
 |
|
Re: 2020.1 officially released
|
 |
|
Re: 2020.1 officially released
By: mirek on Thu, 04 June 2020 10:31
|
 |
|
Re: 2020.1 officially released
By: Novo on Thu, 04 June 2020 13:52
|
 |
|
Re: 2020.1 officially released
By: mirek on Thu, 04 June 2020 14:24
|
 |
|
Re: 2020.1 officially released
By: Novo on Thu, 04 June 2020 16:00
|
 |
|
Re: 2020.1 officially released
By: Novo on Thu, 04 June 2020 17:35
|
 |
|
Re: 2020.1 officially released
By: Novo on Fri, 05 June 2020 05:03
|
 |
|
Re: 2020.1 officially released
By: mirek on Fri, 05 June 2020 09:37
|
 |
|
Re: 2020.1 officially released
By: Novo on Thu, 04 June 2020 21:14
|
 |
|
Re: 2020.1 officially released
By: Novo on Fri, 05 June 2020 04:59
|
 |
|
Re: 2020.1 officially released
By: mirek on Fri, 05 June 2020 09:44
|
 |
|
Re: 2020.1 officially released
By: Novo on Fri, 05 June 2020 20:09
|
 |
|
Re: 2020.1 officially released
By: mirek on Sat, 06 June 2020 10:26
|
 |
|
Re: 2020.1 officially released
By: Novo on Sun, 07 June 2020 17:41
|
 |
|
Re: 2020.1 officially released
By: mirek on Fri, 05 June 2020 09:34
|
 |
|
Re: 2020.1 officially released
By: Novo on Fri, 05 June 2020 17:16
|
 |
|
Re: 2020.1 officially released
By: Novo on Tue, 16 June 2020 19:07
|
 |
|
Re: 2020.1 officially released
By: Novo on Fri, 05 June 2020 05:44
|
 |
|
Re: 2020.1 officially released: minor String bug?
|
 |
|
Re: 2020.1 officially released: minor String bug?
By: mirek on Thu, 18 June 2020 15:00
|
 |
|
Re: 2020.1 officially released
By: Giorgio on Tue, 07 July 2020 09:43
|
 |
|
Re: 2020.1 officially released
By: mirek on Tue, 07 July 2020 11:08
|
 |
|
Re: 2020.1 officially released
By: Giorgio on Wed, 08 July 2020 11:50
|
 |
|
Re: 2020.1 officially released
By: mirek on Wed, 08 July 2020 17:45
|
 |
|
Re: 2020.1 officially released
By: Giorgio on Thu, 09 July 2020 14:54
|
 |
|
Re: 2020.1 officially released
By: mirek on Mon, 13 July 2020 10:28
|
 |
|
Re: 2020.1 officially released
By: pvictor on Mon, 13 July 2020 18:51
|
 |
|
Re: 2020.1 officially released
By: mirek on Tue, 14 July 2020 10:23
|
Goto Forum:
Current Time: Thu Sep 18 17:58:53 CEST 2025
Total time taken to generate the page: 0.06773 seconds
|