I have a source code which works on windows, that I want to port on linux.
For doing so, we use commonly a “typedef long long in __int64;” to get arround the fact that __int64 is supported by VisualC++, not by gcc.
When doing so on linux, we get into troubles during compilation (we still had messages claiming that __int64 was wrong somewhere).
We had to use “#define __int64 long long int” instead, the nvcc does not appreciate too complex typedefs.
Note that the application does not compile totally yet, and that this trick may be leading to other issues not currently identified …