Skip to content
This repository was archived by the owner on Feb 9, 2021. It is now read-only.
This repository was 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

@FStapenhorst

Description

@FStapenhorst

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions