Quote:
Originally Posted by pan64
what is sint ?
Whould be nice to post a full example (which can be compiled and tested by anyone).
|
Sorry, I tried to clean it up for you guys but I missed that one.
sint is my own int.
I also have uchar which is really unsigned char.
.....and so on. That stuff is defined in my
global.h file.
The problem functions are in file
MemoryTracker.h
MemoryTracker.cpp
It is odd.
These 2 functions don't cause any problems.
schar* newschar(sint amount, schar *(&mypointer), const schar *description);
uchar* newuchar(sint amount, uchar *(&mypointer), const schar *description);
as soon as I add one of these
tbool* newtbool(sint amount, tbool *(&mypointer), const schar *description);
sshort* newsshort(sint amount, sshort *(&mypointer), const schar *description);
ushort* newushort(sint amount, ushort *(&mypointer), const schar *description);
and maybe the others, BOOM.
The project page is at
https://sourceforge.net/projects/chemicala
Download the file
ChemicalADlg-v1.7.2_Linux_64_bit_testversion06.zip
Open it with your QT Creator and just compile
or open
folder Lin64 and the EXE is there.
Note: I will soon try to fix the problem. It will take a while since I am tired right now.
I don't even know if I will succeed in fixing the problem