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

Clang compiler error example

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.73 sec, absolute service time: 0,83 sec 
fork mode |  history
Error(s):
source_file.cpp:9:18: error: expected ')'
inline void and(C& s);
                 ^
source_file.cpp:9:16: note: to match this '('
inline void and(C& s);
               ^
source_file.cpp:9:13: error: cannot form a reference to 'void'
inline void and(C& s);
            ^
source_file.cpp:9:1: error: 'inline' can only appear on functions
inline void and(C& s);
^
3 errors generated.

        

    
                
λ
.NET NoSQL database for rapid development