klanderfri / klanderfri/CardReaderLibrary

Inconsistent DLL linkage-warnings

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
fix help wanted
Dominant language
C++
Stars
10
Forks
3
PR merge metrics
No merged PRs in 30d

Description

When compiling one get four error messages, one for each method in the DLL, considering inconsistent DLL linkage:
* cardreaderlibrary.cpp(7): warning C4273: 'CRLibrary::CompareCardNames': inconsistent dll linkage
* cardreaderlibrary.cpp(12): warning C4273: 'CRLibrary::ReadCardTitles': inconsistent dll linkage
* cardreaderlibrary.cpp(19): warning C4273: 'CRLibrary::GetMaxCardAmount': inconsistent dll linkage
* cardreaderlibrary.cpp(24): warning C4273: 'CRLibrary::GetResultExample': inconsistent dll linkage

- [ ] Find out what causes these warnings.
- [ ] Fix the problem causing the warnings.

Contributor guide

Open the contributing guide

Research direction

Start in cardreaderlibrary.cpp at lines 7, 12, 19, and 24, where the four C4273 warnings are reported. Trace the declarations and definitions of the listed CRLibrary methods, then compile the DLL to confirm that the inconsistent-linkage warnings are gone.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.