Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 700992

Summary: games-engines/frobtads-1.2.4: error in vmstr.h
Product: Gentoo Linux Reporter: Martin Bays <mbays>
Component: Current packagesAssignee: Gentoo Games <games>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein, realnc
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: games-engines:frobtads-1.2.4:20191123-162448.log
emerge-info

Description Martin Bays 2019-11-23 17:24:33 UTC
Compile failed. GCC version 8.2.0.

```
In file included from tads3/vmbifl.cpp:39:
tads3/vmstr.h: In member function ‘virtual void CVmMetaclassString::create_for_image_load(vm_obj_id_t)’:
tads3/vmstr.h:659:36: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
         new (vmg_ id) CVmObjString();
                                    ^
<built-in>: note: ‘void operator delete(void*, unsigned int)’ is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
tads3/vmstr.h: In member function ‘virtual void CVmMetaclassString::create_for_restore(vm_obj_id_t)’:
tads3/vmstr.h:666:36: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
         new (vmg_ id) CVmObjString();
                                    ^
<built-in>: note: ‘void operator delete(void*, unsigned int)’ is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
```

Full build log attached.
Comment 1 Martin Bays 2019-11-23 17:25:35 UTC
Created attachment 597162 [details]
games-engines:frobtads-1.2.4:20191123-162448.log

Build log
Comment 2 Martin Bays 2019-11-23 17:26:05 UTC
Created attachment 597164 [details]
emerge-info

emerge --info
Comment 3 Nikos Chantziaras 2019-12-30 15:07:47 UTC
Can't reproduce in GCC 9.2.0, but can you tell me if adding:

-fno-sized-deallocation

temporarily to your CXXFLAGS as a test just for this package fixes the issue?