Fix compilation error with stricg GCC flags

This commit is contained in:
Sergey Sharybin 2014-01-15 16:21:53 +06:00
parent 2678b12a36
commit 5cd321203e
Notes: blender-bot 2023-02-14 11:20:25 +01:00
Referenced by issue #38359, Wrong material reported in particles settings when pinning them and selecting another object.
Referenced by issue #38322, COLLADA exporter breaks UV coordinates
Referenced by issue #38310, Adjusting the resolution of an ocean sim changes the ocean completely
Referenced by issue #38307, Duplicating a text object causes crash
Referenced by issue #38229, Shadeless option has no effect when GLSL is enabled
3 changed files with 6 additions and 3 deletions

View File

@ -74,6 +74,7 @@ CCL_NAMESPACE_END
#else
/* needed for some linkers in combination with scons making empty compilation unit in a library */
void __dummy_function_cycles_sse2(){}
void __dummy_function_cycles_sse2(void);
void __dummy_function_cycles_sse2(void){}
#endif

View File

@ -75,6 +75,7 @@ CCL_NAMESPACE_END
#else
/* needed for some linkers in combination with scons making empty compilation unit in a library */
void __dummy_function_cycles_sse3(){}
void __dummy_function_cycles_sse3(void);
void __dummy_function_cycles_sse3(void){}
#endif

View File

@ -76,6 +76,7 @@ CCL_NAMESPACE_END
#else
/* needed for some linkers in combination with scons making empty compilation unit in a library */
void __dummy_function_cycles_sse41(){}
void __dummy_function_cycles_sse41(void);
void __dummy_function_cycles_sse41(void){}
#endif