A
a_unique_name
Guest
Hi Folks:
Developing on Windows 10 Pro, VS 2017 Community, No MFC.
I've been using the byte type forever, without giving it much thought.
When I tried to create a new static library I'm suddenly seeing errors.
Compiling this static library:
#include "stdafx.h"
#include <Windows.h>
byte test_byte;
Results in these errors:
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2146: syntax error: missing ';' before identifier 'test_byte'
When I commented out all of the code of an existing static library, and placed those three statements into it, it compiled without error.
A "Go To Definition" for byte brought up a tab for this header file:
c:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\shared\rpcndr.h
I noticed when I created this static library the window that asks if I want an empty project, pre-compiled headers and a few other things didn't pop up.
Suggestions?
Thanks
Larry
Continue reading...
Developing on Windows 10 Pro, VS 2017 Community, No MFC.
I've been using the byte type forever, without giving it much thought.
When I tried to create a new static library I'm suddenly seeing errors.
Compiling this static library:
#include "stdafx.h"
#include <Windows.h>
byte test_byte;
Results in these errors:
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2146: syntax error: missing ';' before identifier 'test_byte'
When I commented out all of the code of an existing static library, and placed those three statements into it, it compiled without error.
A "Go To Definition" for byte brought up a tab for this header file:
c:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\shared\rpcndr.h
I noticed when I created this static library the window that asks if I want an empty project, pre-compiled headers and a few other things didn't pop up.
Suggestions?
Thanks
Larry
Continue reading...