Project

General

Profile

Bug #6817

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

Added by Vincenzo Romano almost 3 years ago. Updated over 2 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.

#1

Updated by Roel Standaert over 2 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.

#2

Updated by Roel Standaert over 2 years ago

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

Also available in: Atom PDF