Closed GoogleCodeExporter closed 9 years ago
Original comment by jernk...@gmail.com
on 5 Feb 2013 at 3:58
Thanks, this should be fixed defining NV_FORCEINLINE appropriately. Looks like
in certain gcc versions it should be defined as:
#define NV_FORCEINLINE inline __attribute__((always_inline))
but I think I've also seen compilers that complained about the double inline
(clang I think). I'll add the inline back for now.
Original comment by cast...@gmail.com
on 5 Feb 2013 at 7:34
This is weird. The missing inline comes from our private branch, which we build
on OSX. I believe it was causing compiler errors, but I'll double check. Maybe
the inline is required with gcc, but not with clang. Thanks for the heads up!
Original comment by cast...@gmail.com
on 5 Feb 2013 at 5:57
OK, this should be fixed now. I confirmed the patch does indeed work fine under
cmake, not sure what I was seeing the last time.
Original comment by cast...@gmail.com
on 5 Feb 2013 at 6:40
s/cmake/clang/
Original comment by cast...@gmail.com
on 5 Feb 2013 at 6:40
Original issue reported on code.google.com by
jernk...@gmail.com
on 5 Feb 2013 at 3:47Attachments: