Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc HEAD 9.0.1 20190415 (experimental)

Options
Warnings
Optimization
Don't Use Boost
C++2a
no pedantic
Raw compiler options
-pedantic -pthread

Author

anonymous

about 6 years ago

$ g++ prog.cc -Wall -Wextra -O2 -march=native -std=c++2a -pedantic -pthread
prog.cc:3:3: error: stray '\' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |   ^
prog.cc:3:9: error: stray '\' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |         ^
prog.cc:3:12: error: stray '\' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |            ^
prog.cc:3:21: error: stray '\' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                     ^
prog.cc:3:25: error: stray '\' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                         ^
prog.cc:3:37: error: stray '\' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                     ^
prog.cc:3:43: error: stray '\' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                           ^
prog.cc:3:239: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                               ^
prog.cc:3:251: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                           ^
prog.cc:3:252: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                            ^
prog.cc:3:272: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                                                ^
prog.cc:3:288: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                                                                ^
prog.cc:3:290: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                                                                  ^
prog.cc:3:294: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                                                                      ^
prog.cc:3:295: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                                                                       ^
prog.cc:3:308: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                                                                                    ^
prog.cc:3:310: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                                                                                      ^
prog.cc:3:312: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                                                                                        ^
prog.cc:3:313: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                                                                                         ^
prog.cc:3:317: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                                                                                             ^
prog.cc:3:318: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                                                                                              ^
prog.cc:3:366: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                                                                                                                                              ^
prog.cc:3:374: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                                                                                                                                                      ^
prog.cc:3:380: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                                                                                                                                                            ^
prog.cc:3:381: error: stray '@' in program
    3 | C:\Users\me\Exercism\cpp\hello-world\build\hello_world_test.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hello_world::hello(void)" (?hello@hello_world@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$?runInternal@Session@Catch@@AAEHXZ$0
      |                                                                                                                                                                                                                                                                                                                                                                                             ^
prog.cc:4:3: error: stray '\' in program
    4 | C:\Users\me\Exercism\cpp\hello-world\build\Debug\hello-world.exe : fatal error LNK1120: 1 unresolved externals
      |   ^
prog.cc:4:9: error: stray '\' in program
    4 | C:\Users\me\Exercism\cpp\hello-world\build\Debug\hello-world.exe : fatal error LNK1120: 1 unresolved externals
      |         ^
prog.cc:4:12: error: stray '\' in program
    4 | C:\Users\me\Exercism\cpp\hello-world\build\Debug\hello-world.exe : fatal error LNK1120: 1 unresolved externals
      |            ^
prog.cc:4:21: error: stray '\' in program
    4 | C:\Users\me\Exercism\cpp\hello-world\build\Debug\hello-world.exe : fatal error LNK1120: 1 unresolved externals
      |                     ^
prog.cc:4:25: error: stray '\' in program
    4 | C:\Users\me\Exercism\cpp\hello-world\build\Debug\hello-world.exe : fatal error LNK1120: 1 unresolved externals
      |                         ^
prog.cc:4:37: error: stray '\' in program
    4 | C:\Users\me\Exercism\cpp\hello-world\build\Debug\hello-world.exe : fatal error LNK1120: 1 unresolved externals
      |                                     ^
prog.cc:4:43: error: stray '\' in program
    4 | C:\Users\me\Exercism\cpp\hello-world\build\Debug\hello-world.exe : fatal error LNK1120: 1 unresolved externals
      |                                           ^
prog.cc:4:49: error: stray '\' in program
    4 | C:\Users\me\Exercism\cpp\hello-world\build\Debug\hello-world.exe : fatal error LNK1120: 1 unresolved externals
      |                                                 ^
prog.cc:1:1: error: expected unqualified-id before numeric constant
    1 | 1>------ Build started: Project: ZERO_CHECK, Configuration: Debug|Win32 ------
      | ^
Exit Code:
1