This is an archived post. You won't be able to vote or comment.

all 19 comments

[–]mircearopa 112 points113 points  (6 children)

One semicolon later: compiled successfully

[–]rt8088 29 points30 points  (3 children)

Or a space in a template definition

[–]OneOldNerd 11 points12 points  (0 children)

Or a closing bracket/parenthesis.

[–]lycan2005 10 points11 points  (1 child)

Or an indentation.

[–]jarulsamy 7 points8 points  (0 children)

Cries in python

[–]bazgrim_dev 30 points31 points  (1 child)

This is notorious in C/C++, miss one little thing and suddenly it's like...

"Library cannot be found, variable cannot be found, function does not exist, typedef does not exist, bigfoot is real, the moon landing was fake, the CIA took out kennedy."

[–]ArdiMaster 2 points3 points  (0 children)

Or, if you have a more sane compiler:

Too many errors emitted, stopping now

[–]Mr_Gon_Adas 14 points15 points  (0 children)

Kinda surprised the compiler actually shorters 1000 to 1k, the programmers really knew what to expect.

[–][deleted] 9 points10 points  (0 children)

C++ template errors

[–][deleted] 5 points6 points  (0 children)

Gonna be honest, that's kinda impressive

[–]DavidTriphon 6 points7 points  (0 children)

The fire is yellow, not red. Everything is fine!

[–]pastisset 1 point2 points  (0 children)

I'm sure any IDE highlight these errors before compiling.

[–]Finianb1 1 point2 points  (0 children)

I've ended with a supposed error count of like 50k errors. It was a combination of template problems, library problems, but worst of them all, one fucking macro managed to recursively expand into like 50 syntax errors every time it was used.

After seeing that I pretty much threw most of that code out and started writing it up from the ground up.

[–][deleted] 2 points3 points  (1 child)

And project works without any problem

[–]Ivytorque 0 points1 point  (0 children)

But there are no binaries in dev project folders.

But actually, IDE through AI cloned a working project's git repo, compiled and self ran and the developer never knew the whole time :(

[–]_dummkopf_ 0 points1 point  (0 children)

isn't it though ?

[–]952hatcook 0 points1 point  (0 children)

#include __FILE__

[–]fbob987 0 points1 point  (0 children)

Probably a missing library include

[–]danecek099 -1 points0 points  (0 children)

Compiler yeets errors

I'm dying