Created by: zhouwei25
-
Now, when compile paddle_fluid_c.dll, there are many warning affecting developers view log.
-
macro PADDLE_ON_INFERENCE can be opened and closed by ON_INFER, but when compile Paddle, it should be dllexport rather than dllimport. When compile train.exe of user, it will be dllimport.
-
So, there can be macro always defined in Paddle, it can be PADDLE_DLL_EXPORT in paddle/fluid/inference/CMakeLists.txt.