Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 700992 - games-engines/frobtads-1.2.4: error in vmstr.h
Summary: games-engines/frobtads-1.2.4: error in vmstr.h
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-23 17:24 UTC by Martin Bays
Modified: 2019-12-30 15:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
games-engines:frobtads-1.2.4:20191123-162448.log (games-engines:frobtads-1.2.4:20191123-162448.log,40.17 KB, text/plain)
2019-11-23 17:25 UTC, Martin Bays
Details
emerge-info (emerge-info,7.19 KB, application/octet-stream)
2019-11-23 17:26 UTC, Martin Bays
Details

Note You need to log in before you can comment on or make changes to this bug.
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?