Menu

#2 small inconsistency in the documentation

wont-fix
nobody
None
5
2014-04-05
2006-12-13
Anonymous
No

First a positive feedback: good and instructive documentation, good start for a new project!

In chapter "Installing Cgreen" there's the sentence: "A test can be any function with a void (void) signature."
This is not true, for instance, if you define a test "void testFoo(void)" and add it with add_test, the code will compile (with gcc 3.4.4) with a warning: "passing arg 3 of `_add_test' from incompatible pointer type". This happens because void testFoo(void) and void testFoo() (as in your examples) are different things.

Discussion

  • Thomas Nilsson

    Thomas Nilsson - 2014-03-03
    • status: open --> wont-fix
    • Group: --> v1.0beta3
     
  • Thomas Nilsson

    Thomas Nilsson - 2014-03-03

    Obsolete.

     
  • Thomas Nilsson

    Thomas Nilsson - 2014-03-03
    • Group: v1.0beta3 --> obsolete
     

Log in to post a comment.

MongoDB Logo MongoDB