[
https://issues.apache.org/jira/browse/THRIFT-5654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer resolved THRIFT-5654.
--------------------------------
Fix Version/s: 0.21.0
Resolution: Fixed
Thanks!
> LNK4042 and LNK2019 in go_validator_generator.cc
> ------------------------------------------------
>
> Key: THRIFT-5654
> URL: https://issues.apache.org/jira/browse/THRIFT-5654
> Project: Thrift
> Issue Type: Bug
> Components: Go - Compiler
> Environment: Visual Studio 2022
> Reporter: Jens Geyer
> Assignee: Eyüp Volkan
> Priority: Critical
> Fix For: 0.21.0
>
> Attachments:
> 0001-THRIFT-5654-LNK4042-and-LNK2019-in-go_validator_gene-1.patch
>
>
> With VS2022 I get "warning LNK4042: object specified more than once; extras
> ignored" in go_validator_generator.obj.
> Also I had to comment out this to get rid of some fatal LNK2019: unresolved
> external symbol:
> //go_validator_generator(this).generate_struct_validator(f_types_, tstruct);
> Extra info:
> https://stackoverflow.com/questions/3695174/visual-studio-2010s-strange-warning-lnk4042
--
This message was sent by Atlassian Jira
(v8.20.10#820010)