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

SO 51995500

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.45 sec, absolute service time: 0,59 sec 
fork mode |  history
Error(s):
source_file.cpp:18:33: warning: reference 'anyName' is not yet bound to a value when used within its own initialization [-Wuninitialized]
parent& anotherClass::anyName = anyName; // create a parent-class ref to the child object
                      ~~~~~~~   ^~~~~~~
1 warning generated.
/usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

        

    
                
λ
.NET NoSQL database for rapid development