Skip to content

does it work with win32 MFC projects in MSVC #1

Description

@rameshdk12

Hi,
Does it work with win32 MFC projects in MSVC 17?.
I am using the neat version of dynarray.hpp

I am creating an array in global namespace as below. If I include stdafx.h it doesn't compile.

dynarray.hpp line 920 '(' illegal token on right side of :: is the first error.

//code begins
#include "StdAfx.h"
#include "dynarray.hpp"

vla::dynarray<int, 3> arr(1, 1, 1, 0);

//a dummy function
void fun()
{

}

//code ends

Thanks
Ramesh D

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions