caffe icon indicating copy to clipboard operation
caffe copied to clipboard

Error C2206: typedef cannot be used for function definition. (INSTANTIATE_FUNC_1T)

Open ammarRajabA opened this issue 6 years ago • 1 comments

I'm having the following error on several files while trying to build Caffe OpenCL on Windows 8.1 and Visual Studio 2015: Error C2206: typedef cannot be used for function definition.

After checking the lines that produce the error, I found that they're all "INSTANTIATE_FUNC_1T"

Can you please tell me what is this (function or definition) and how to solve such issue in order to have a successful build.

ammarRajabA avatar Feb 28 '19 09:02 ammarRajabA

Hello Ammar, I'm having exactly the same error on windows 10 and visual studio 2015. Have you found any solution already ?

fab128 avatar May 19 '21 08:05 fab128