Project

General

Profile

Actions

Bug #5041

closed

on 3.3.6 RC2 - 'Wt::WServer::setSslPasswordCallback': inconsistent dll linkage

Added by Dennis Felippa over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
Start date:
07/05/2016
Due date:
% Done:

0%

Estimated time:

Description

I get

wt\src\http\WServer.C (285): warning C4273: 'Wt::WServer::setSslPasswordCallback': inconsistent dll linkage

It may be irrelevant but I'd rather let you know.

(Visual Studio 2015 - Windows 10)

May be WT_API is missing in the declaration or may be it's getting "confused" with the main's project setSslPasswordCallback. I don't know.

Actions #1

Updated by Wim Dumon over 8 years ago

  • Status changed from New to Feedback
  • Assignee set to Wim Dumon

Hello Dennis,

I believe you're right, this is not ok. The error is in src/Wt/Server line 405, where setSslPasswordCallback() is declared WT_API while it should be WTCONNECTOR_API. Could you check if this fixes the warning (I'm not on a windows PC now)?

Part of the WServer class is implemented in wt.lib, the other part is in the connector. Therefore this classes export declarations change from one function to another.

Wim.

Actions #2

Updated by Dennis Felippa over 8 years ago

Using WTCONNECTOR_API eliminates the warning.

Thank you!

Dennis

Actions #3

Updated by Wim Dumon over 8 years ago

  • Status changed from Feedback to Implemented @Emweb
Actions #4

Updated by Koen Deforche over 8 years ago

  • Status changed from Implemented @Emweb to Resolved
Actions #5

Updated by Koen Deforche over 8 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF