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

runtime template mode processor

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 4.39 sec, absolute service time: 4,4 sec 
edit mode |  history  | discussion
Error(s):
source_file.cpp:14:15: error: ‘tolower’ redeclared as different kind of symbol
     tolower = 1,
               ^
In file included from /usr/include/c++/5/cctype:42:0,
                 from /usr/include/c++/5/bits/localefwd.h:42,
                 from /usr/include/c++/5/ios:41,
                 from /usr/include/c++/5/ostream:38,
                 from /usr/include/c++/5/iostream:39,
                 from source_file.cpp:3:
/usr/include/ctype.h:124:12: note: previous declaration ‘int tolower(int)’
 extern int tolower (int __c) __THROW;
            ^
source_file.cpp:15:15: error: ‘toupper’ redeclared as different kind of symbol
     toupper = 2,
               ^
In file included from /usr/include/c++/5/cctype:42:0,
                 from /usr/include/c++/5/bits/localefwd.h:42,
                 from /usr/include/c++/5/ios:41,
                 from /usr/include/c++/5/ostream:38,
                 from /usr/include/c++/5/iostream:39,
                 from source_file.cpp:3:
/usr/include/ctype.h:127:12: note: previous declaration ‘int toupper(int)’
 extern int toupper (int __c) __THROW;
            ^
source_file.cpp:26:25: error: expected type-specifier before ‘(’ token
     std::string operator(std::string&& s) const
                         ^
source_file.cpp:35:25: error: expected type-specifier before ‘(’ token
     std::string operator(std::string&& s) const
                         ^
source_file.cpp:44:25: error: expected type-specifier before ‘(’ token
     std::string operator(std::string&& s) const
                         ^
source_file.cpp:52:25: error: expected type-specifier before ‘(’ token
     std::string operator(std::string&& s) const
                         ^
source_file.cpp:60:25: error: expected type-specifier before ‘(’ token
     std::string operator(std::string&& s) const
                         ^
source_file.cpp:68:25: error: expected type-specifier before ‘(’ token
     std::string operator(std::string&& s) const
                         ^
source_file.cpp:76:25: error: expected type-specifier before ‘(’ token
     std::string operator(std::string&& s) const
                         ^
source_file.cpp:84:25: error: expected type-specifier before ‘(’ token
     std::string operator(std::string&& s) const
                         ^