English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: Emufr3ak
Forum: Coders. C/C++ 10 January 2021, 16:01
Replies: 25
Views: 3,706
Posted By Emufr3ak
Adding the flag "-shared-libgcc" did the trick....

Adding the flag "-shared-libgcc" did the trick. Now virtual methods work.
Forum: Coders. C/C++ 08 January 2021, 15:29
Replies: 25
Views: 3,706
Posted By Emufr3ak
I do have issues with virtual methods. It fails...

I do have issues with virtual methods. It fails again at linking stage. Trying bebbos solution with eclipse. Do prefer the vscode experience though.
Forum: Coders. C/C++ 04 January 2021, 10:17
Replies: 25
Views: 3,706
Posted By Emufr3ak
Thanjs for pointing out the Problem with Sizeof....

Thanjs for pointing out the Problem with Sizeof. Will switch to AllocVec and FreeVec. Up till now my Classes work fine with this solution. Can I have a look at yours Ernst.
Forum: Coders. C/C++ 03 January 2021, 19:23
Replies: 25
Views: 3,706
Posted By Emufr3ak
Thank Ernst. This definitely pointed me in the...

Thank Ernst. This definitely pointed me in the right Direction. It's possible to implement new operators for new and delete. This did the trick.

void * operator new(size_t size)
{
...
Forum: Coders. C/C++ 03 January 2021, 12:13
Replies: 25
Views: 3,706
Posted By Emufr3ak
I can define classes and access them. As soon as...

I can define classes and access them. As soon as I use the new operator I get linker errors (undefined symbol). Turns out the new operator uses malloc which in turn requires stdlib. Maybe I could...
Forum: Coders. C/C++ 03 January 2021, 11:35
Replies: 25
Views: 3,706
Posted By Emufr3ak
C++ is supported since Version 0.8.0. A...

C++ is supported since Version 0.8.0.


A workaround to avoid the new keyword might do the job too.
Forum: Coders. C/C++ 03 January 2021, 11:21
Replies: 25
Views: 3,706
Posted By Emufr3ak
stdlib amiga gcc

Maybe Some c/c++ gurus can help.



I'm trying to port some C++ code to Amiga. I'm using abyss visual studio code plugin for development.


For some basic c++ functions like the new operator...
Showing results 1 to 7 of 7

 
Forum Jump

All times are GMT +2. The time now is 05:51.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.06646 seconds with 10 queries