Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Getting compiler errors with latest C++ compiler (VS2019 Preview 3.1) #19

Open
FStapenhorst opened this issue Sep 22, 2020 · 0 comments

Comments

@FStapenhorst
Copy link

Hi,

I downloaded the ATLCollections sample and tried to compile it using Visual Studio 2019 Preview 3.1. It works fine when selecting default settings in "Project Settings - General - C++ Language Standard" setting.
When selecting "Preview - Features from the Latest C++ Working Draft (/std:c++latest)" as the C++ Language Standard, I get the following compiler errors:

1>------ Build started: Project: ATLCollections, Configuration: Debug Win32 ------
1>StdAfx.cpp
1>ATLCollections.cpp
1>E:\Users\f.stapenhorst\Downloads\ATLCollections\Reuse\VCUE_Collection.h(160,17): error C3861: 'm_coll': identifier not found
1>E:\Users\f.stapenhorst\Downloads\ATLCollections\Reuse\VCUE_Collection.h(168): message : see reference to class template instantiation 'VCUE::ICollectionOnSTLCopyImpl<T,CollType,ItemType,CopyItem,EnumType,Holder>' being compiled
1>MapCollection.cpp
1>E:\Users\f.stapenhorst\Downloads\ATLCollections\Reuse\VCUE_Collection.h(160,17): error C3861: 'm_coll': identifier not found
1>E:\Users\f.stapenhorst\Downloads\ATLCollections\Reuse\VCUE_Collection.h(168): message : see reference to class template instantiation 'VCUE::ICollectionOnSTLCopyImpl<T,CollType,ItemType,CopyItem,EnumType,Holder>' being compiled
1>StringCollection.cpp

Any idea what the issue might be?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant