Actions
Feature #1050
closed
KD
c++0x compatibility patch
Feature #1050:
c++0x compatibility patch
Start date:
11/07/2011
Due date:
% Done:
0%
Estimated time:
Description
I compile my app with c++0x .. it complains about an assert being used in a template without being explicitly declared in witty header file.
Fix is easy .. just declare which assert you want:
diff ---git a/src/Wt/Dbo/Field_impl.h b/src/Wt/Dbo/Field_imp
index 3a35f97..6d05cf2 100644
---- a/src/Wt/Dbo/Field_impl.h
- b/src/Wt/Dbo/Field_impl.h
@@ --13,6 +13,7 @@
#include <Wt/Dbo/Exception>
#include <Wt/Dbo/SqlStatement>
#include <Wt/Dbo/SqlTraits>
+#include <assert.h>
namespace Wt {
namespace Dbo {
KD Updated by Koen Deforche almost 15 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
- Target version set to 3.2.0
Hey matthew,
Enjoying c++0x are we ?
Thanks for the patch. I've fixed it by not using assert actually.
Regards,
koen
KD Updated by Koen Deforche almost 15 years ago
- Status changed from Resolved to Closed
Actions