Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Can I test for includes in C++?

Name: Anonymous 2008-07-04 8:23

Is there any way to test which #include headers link correctly?

Name: Anonymous 2008-07-04 8:27

Yes, compile and see.

Name: Anonymous 2008-07-04 8:49

Add some trace or asserts at the beginning of your .h files.

Name: Anonymous 2008-07-04 9:00

Try monadic overflowing stack pointers.

Name: Anonymous 2008-07-04 11:49

>>1
#ifdef

Name: Anonymous 2008-07-04 12:43

>>1
No, because #include headers are never linked.

Name: Anonymous 2008-07-04 14:32

>>6
As in, C++ doesn't have modules, real encapsulation, or all other properties of a good OO language?

That sounds preposterous to me. I think you need to re-examine your assumptions.

Name: Anonymous 2008-07-04 17:57

>>1
You mean you want to see if they get included or not?

Name: Anonymous 2008-07-08 20:14

You have issues.

Name: Anonymous 2008-07-09 17:48

If you were a man you'd just hack GCC to tell you. Noob.

Name: Anonymous 2008-07-09 18:17

>>10
gcc isn't a linker.

Name: Anonymous 2008-07-09 18:21

LD!!!! LD IS THE STANDARD!

Name: Anonymous 2008-07-09 22:31

>>12
I chackled.

Name: Anonymous 2008-07-10 8:59

>>11
So?  Linkers don't deal with includes.

Name: Anonymous 2008-07-10 10:22

>>14
They do with dynamically linked includes.

Name: Anonymous 2008-07-10 11:52

I came from future to tell you that >>15 was trolling us all along

Name: Anonymous 2008-07-10 11:53

>>16
back to the future, please

Name: Anonymous 2008-07-10 15:11

>>17
[m] tag failure

Name: Anonymous 2009-03-06 7:26


Today's hardware Modern computers   can run Lisp   programs a lot   of options at?

Name: Anonymous 2011-01-31 20:46

<-- check em dubz

Name: Sgt.Kabukimanਠ 2012-05-24 10:10

All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy

Name: bampu pantsu 2012-05-29 4:04

bampu pantsu

Don't change these.
Name: Email:
Entire Thread Thread List