Howdy, Stranger!

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

Categories

How can one protect the piracy of his software?

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

Comments

  • SteveCSteveC Member Posts: 63
    : 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
    }

  • Justin BibJustin Bib USAMember Posts: 0

    ____ \ http://forcoder.org \ free video tutorials and ebooks about // Java, PL/SQL, JavaScript, Ruby, C#, C++, Objective-C, Swift, Go, Visual Basic, Assembly, Delphi, R, PHP, Scratch, C, MATLAB, Python, Visual Basic .NET, Perl Clojure, Logo, Fortran, Lua, ML, VBScript, Julia, Hack, Alice, ABAP, Scheme, Rust, F#, Bash, Crystal, Kotlin, Erlang, SAS, Prolog, Scala, Transact-SQL, Dart, Awk, D, Lisp, Ada, Apex, LabVIEW, COBOL, FoxPro // _____________

Sign In or Register to comment.