Rewrite some code to workaround strict aliasing rule violation for older compilers

Rewrite some variable initializers on older compilers
This commit is contained in:
jsteube
2016-07-08 22:57:27 +02:00
parent baea682491
commit 2043338859
3 changed files with 22 additions and 10 deletions
+2 -1
View File
@@ -8,7 +8,8 @@
- Add support to compile on FreeBSD
- Make use of cl_context_properties[] to clCreateContext(), even if OpenCL specification allow the use of NULL, some runtimes fail without
- The Time.Estimated attribute in status display should also show --runtime limit if user set it
- Fix some strict aliasing rule violation on older compilers
- Fix some variable initializers on older compilers
##
## Bugs