Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Bitfield too small to hold all enum values

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.72 sec, absolute running time: 0.18 sec, cpu time: 0.01 sec, memory peak: 5 Mb, absolute service time: 1,02 sec 
edit mode |  history  | discussion
Warning(s):
745992676/source.cpp: In function ‘int main()’:
745992676/source.cpp:20:39: warning: ‘main()::MyStruct::<unnamed union>::<unnamed struct>::identifier’ is too small to hold all values of ‘enum main()::MyEnum’
                 MyEnum   identifier : 5;
                                       ^

        

    
                
λ
.NET NoSQL database for rapid development