tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Fw: Using TCC with dll created by g++ (MINGW)


From: scx31114
Subject: Re: [Tinycc-devel] Fw: Using TCC with dll created by g++ (MINGW)
Date: Sun, 19 Feb 2012 07:13:36 -0800 (PST)

Thanks for the answer. I think using dedicated include file that is included 
after the
opencv stuff and have definition like this is a working solution.
Is this only needed for Windows  when using optimizing on the g++.
If only needed on Windows, i would include #if define WIN32 || defined WIN64 .
Are there other issues that need to be addressed in the openCV/window contest 
like
floating point things or SSE things. For now, i donĀ“t use the SSE optimized 
MinGW, but
i want switch to it later. I really think, that if TCC can be used on openCV it 
will be used
by a lot of people. 

#ifdef __TINYC__
register long long _val_;
#define cvGetSize(img) (_val_=((long long(*)(IplImage*))cvGetSize)(img),_val_)
#define cvCreateImage(x,y,z) ((IplImage*(*)(long long , int, 
int))cvCreateImage)( x,y,z)
#endif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]