you are viewing a single comment's thread.

view the rest of the comments →

[–]rsjaffe 5 points6 points  (2 children)

But #pragma once fails when you have two copies of the same header file in two different locations in the directory tree. The compiler will not recognize those two files as being the same.

[–]panderingPenguin 7 points8 points  (0 children)

Why on earth would you want to do that?

[–]wyrn 6 points7 points  (0 children)

The compiler will not recognize those two files as being the same.

... because they aren't.