How can one protect the piracy of his software?

Does any one know what this means:
One of the headers contained a non-inline function body.
Cheers

Comments

  • : Does any one know what this means:
    : One of the headers contained a non-inline function body.
    : Cheers
    :
    :
    You have this inside a header file
    void foo ( ) {
    // do stuff
    }

    The message suggests you should have
    inline void foo ( ) {
    // do stuff
    }

    But if the function is large and complicated, you really don't want to inline it, so you should have
    // prototype in .h file
    void foo ( );

    // implementation in .c file
    void foo ( ) {
    // do stuff
    }

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion