Quantcast
Viewing latest article 3
Browse Latest Browse All 24

Answer by eeeeeeeeeee for Generate the longest error message in C++

19 bytes

... you need to get at least a few megabytes of errors (if you have bash under /bin/bash, untested with env)

#include</bin/bash>

under Windows 7 (/w Cygwin) in results i got 762140 lines of errors (~73 MiB, pic related)

In file included from owo.cpp:1:/bin/bash:1:3: error: stray ‘\220’ in program    1 | MZ����       @                                   ����!�L�!This program cannot be run in DOS mode.      |   ^/bin/bash:1:4: warning: null character(s) ignored    1 | MZ����       @                                   ����!�L�!This program cannot be run in DOS mode.      |    ^/bin/bash:1:5: error: stray ‘\3’ in program    1 | MZ����       @                                   ����!�L�!This program cannot be run in DOS mode.      |     ^/bin/bash:1:6: warning: null character(s) ignored    1 | MZ����       @                                   ����!�L�!This program cannot be run in DOS mode.      |      ^[...]/bin/bash:2724:5: error: ‘H9’ does not name a type 2724 |       |     ^ /bin/bash:2725:5: error: ‘H9’ does not name a type 2725 |     Exit Status:      |     ^~/bin/bash:2739:33: error: expected declaration before ‘}’ token 2739 |       -r        read the history file and append the contents to the history      |                                 ^/bin/bash:2739:42: error: ‘H’ does not name a type 2739 |       -r        read the history file and append the contents to the history      |                                          ^/bin/bash:2748:2: error: expected declaration before ‘}’ token 2748 |     if HISTFILE has a value, that is used, else ~/.bash_history.      |  ^/bin/bash:2748:11: error: expected unqualified-id before numeric constant 2748 |     if HISTFILE has a value, that is used, else ~/.bash_history.      |           ^/bin/bash:2748:54: error: expected declaration before ‘}’ token 2748 |     if HISTFILE has a value, that is used, else ~/.bash_history.      |                                                      ^/bin/bash:2748:64: error: expected ‘)’ before ‘D$P’ 2748 |     if HISTFILE has a value, that is used, else ~/.bash_history.      |                                                           ~    ^                |                                                                )In file included from owo.cpp:1:/bin/bash:2750:369: error: ‘H’ does not name a type 2750 |     If the HISTTIMEFORMAT variable is set and not null, its value is used      |                                                                                                                                                                                                                                                                                                                                                                                 ^/bin/bash:2750:468: error: expected declaration before ‘}’ token 2750 |     If the HISTTIMEFORMAT variable is set and not null, its value is used      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^/bin/bash:2750:480: error: expected class-name before ‘L’ 2750 |     If the HISTTIMEFORMAT variable is set and not null, its value is used      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ^In file included from owo.cpp:1:/bin/bash:4243:119: error: ‘E’ does not name a type 4243 |   � d �}      |                                                                                                                       ^In file included from owo.cpp:1:/bin/bash:4243:794: error: expected declaration before ‘}’ token 4243 |   � d �}      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^/bin/bash:4243:800: error: expected ‘)’ before ‘U’ 4243 |   � d �}      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ^        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                )In file included from owo.cpp:1:/bin/bash:4244:237: error: expected declaration before ‘}’ token 4244 |  p ��}      |                                                                                                                                                                                                                                             ^/bin/bash:4244:249: error: expected ‘)’ before ‘L’ 4244 |  p ��}      |                                                                                                                                                                                                                                                         ^          |                                                                                                                                                                                                                                                         )/bin/bash:4244:385: error: expected declaration before ‘}’ token 4244 |  p ��}      |                                                                                                                                                                                                                                                                                                                                                                                                 ^/bin/bash:4244:388: error: ‘I’ does not name a type 4244 |  p ��}      |                                                                                                                                                                                                                                                                                                                                                                                                    ^In file included from owo.cpp:1:/bin/bash:4246:185: error: ‘f’ does not name a type 4246 |  p � ~      |                                                                                                                                                                                         ^In file included from owo.cpp:1:/bin/bash:7044:6: error: ‘e’ does not name a type/bin/bash:7303:7: error: ‘T’ does not name a type/bin/bash:7434:6: error: ‘W’ does not name a type/bin/bash:7437:7: error: expected unqualified-id before ‘<’ token/bin/bash:7495:10: error: ‘h’ does not name a type/bin/bash:7529:7: error: expected declaration before ‘}’ token/bin/bash:7530:2: error: ‘p’ does not name a type/bin/bash:7530:3: error: expected declaration before ‘}’ token/bin/bash:7533:10: error: expected unqualified-id before numeric constant/bin/bash:7532:11: error: expected ‘)’ before numeric constantIn file included from owo.cpp:1:/bin/bash:7995:245: error: expected declaration before ‘}’ token/bin/bash:7997:3: error: expected unqualified-id before numeric constant/bin/bash:8000:59: error: expected unqualified-id before ‘:’ token/bin/bash:8000:66: error: ‘P’ does not name a type/bin/bash:8000:130: error: expected unqualified-id before numeric constant/bin/bash:8031:34: error: expected declaration before ‘}’ token/bin/bash:8031:35: error: ‘L’ does not name a type

Image may be NSFW.
Clik here to view.
big error, woah


Viewing latest article 3
Browse Latest Browse All 24

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>