Project

General

Profile

Actions

Feature #1050

closed

c++0x compatibility patch

Added by Anonymous about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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
    #include
    #include
    +#include <assert.h>

namespace Wt {

namespace Dbo {

Actions #1

Updated by Koen Deforche about 13 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

Actions #2

Updated by Koen Deforche about 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF