Project

General

Profile

Actions

Bug #6817

open

[v3][v4]][Dbo] Force the inclusion of file Wt/Dbo/Dbo (or Wt/Dbo/Dbo.h vor v4)

Added by Vincenzo Romano over 5 years ago. Updated almost 5 years ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
-
Start date:
01/10/2019
Due date:
% Done:

0%

Estimated time:
1:00 h

Description

All Dbo-related include files should ensure the mentioned files get included automatically.

Otherwise linkage errors can pop up despite the syntax is perfectly correct.

See https://redmine.webtoolkit.eu/boards/2/topics/15701 as a reference.

Actions #1

Updated by Roel Standaert almost 5 years ago

  • Target version deleted (3.4.0)

I've discussed this with Koen. Maybe the naming isn't great (the header names don't indicate very well that these are just forward declarations), but that's the idea.

<Wt/Dbo/Dbo.h> includes declarations and implementation, while just <Wt/Dbo/Types.h> (and <Wt/Dbo/ptr.h>, <Wt/Dbo/collection.h> etc.) includes only the forward declarations.

Actions #2

Updated by Roel Standaert almost 5 years ago

Correction: they're not so much "forward declarations", but just "declarations".

Actions

Also available in: Atom PDF