Click here to Skip to main content
15,915,093 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: run older 16-bit Windows programs on a 64-bit platform Pin
Goto_Label_18-Oct-11 23:23
Goto_Label_18-Oct-11 23:23 
GeneralRe: run older 16-bit Windows programs on a 64-bit platform Pin
softwaremonkey19-Oct-11 7:09
softwaremonkey19-Oct-11 7:09 
Questionc++Safe to use size specifier in enum declaration ? Pin
Maximilien18-Oct-11 4:29
Maximilien18-Oct-11 4:29 
(Using VS 2008 C++)
Is it safe to use a size specifier in enum declaration ?

typedef enum MyEnum : int 
{
  e1, 
  e2, 
  e3
} MyEnum;


This will generate a warning :
C4480 : nonstandard extension used: specifying underlying type for enum 'enum'.

Is this just an informative warning that it will not do what it is supposed to do or will it really type my enum values as int values ?

For what I can read it looks kosher and when/if we switch to VS2010/2011

Thanks.
Watched code never compiles.

AnswerRe: c++Safe to use size specifier in enum declaration ? Pin
TheGreatAndPowerfulOz18-Oct-11 4:58
TheGreatAndPowerfulOz18-Oct-11 4:58 
GeneralRe: c++Safe to use size specifier in enum declaration ? Pin
Maximilien18-Oct-11 5:03
Maximilien18-Oct-11 5:03 
QuestionC++ Dynamic Data Binding / Reflection Pin
Mortomfod17-Oct-11 9:35
Mortomfod17-Oct-11 9:35 
AnswerRe: C++ Dynamic Data Binding / Reflection Pin
Fernando A. Gomez F.17-Oct-11 10:09
Fernando A. Gomez F.17-Oct-11 10:09 
GeneralRe: C++ Dynamic Data Binding / Reflection Pin
Mortomfod17-Oct-11 10:20
Mortomfod17-Oct-11 10:20 
GeneralRe: C++ Dynamic Data Binding / Reflection Pin
Fernando A. Gomez F.17-Oct-11 10:53
Fernando A. Gomez F.17-Oct-11 10:53 
AnswerRe: C++ Dynamic Data Binding / Reflection Pin
TheGreatAndPowerfulOz17-Oct-11 10:25
TheGreatAndPowerfulOz17-Oct-11 10:25 
AnswerRe: C++ Dynamic Data Binding / Reflection Pin
TheGreatAndPowerfulOz17-Oct-11 10:47
TheGreatAndPowerfulOz17-Oct-11 10:47 
QuestionGetting a list of SQL Servers Available Pin
jkirkerx17-Oct-11 8:30
professionaljkirkerx17-Oct-11 8:30 
QuestionRe: Getting a list of SQL Servers Available Pin
David Crow17-Oct-11 9:52
David Crow17-Oct-11 9:52 
AnswerRe: Getting a list of SQL Servers Available Pin
jkirkerx17-Oct-11 11:05
professionaljkirkerx17-Oct-11 11:05 
AnswerRe: Getting a list of SQL Servers Available Pin
jkirkerx17-Oct-11 11:42
professionaljkirkerx17-Oct-11 11:42 
GeneralRe: Getting a list of SQL Servers Available Pin
jkirkerx17-Oct-11 12:35
professionaljkirkerx17-Oct-11 12:35 
QuestionSuggest a fast way to do? Pin
john563216-Oct-11 23:06
john563216-Oct-11 23:06 
AnswerRe: Suggest a fast way to do? Pin
Richard MacCutchan16-Oct-11 23:11
mveRichard MacCutchan16-Oct-11 23:11 
GeneralRe: Suggest a fast way to do? Pin
john563216-Oct-11 23:19
john563216-Oct-11 23:19 
GeneralRe: Suggest a fast way to do? Pin
Richard MacCutchan16-Oct-11 23:56
mveRichard MacCutchan16-Oct-11 23:56 
GeneralRe: Suggest a fast way to do? Pin
john563217-Oct-11 0:01
john563217-Oct-11 0:01 
GeneralRe: Suggest a fast way to do? Pin
Richard MacCutchan17-Oct-11 0:06
mveRichard MacCutchan17-Oct-11 0:06 
GeneralRe: Suggest a fast way to do? Pin
enhzflep17-Oct-11 13:35
enhzflep17-Oct-11 13:35 
AnswerRe: Suggest a fast way to do? Pin
Erudite_Eric17-Oct-11 0:04
Erudite_Eric17-Oct-11 0:04 
GeneralRe: Suggest a fast way to do? Pin
john563217-Oct-11 0:13
john563217-Oct-11 0:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.