Menu

#411 Problem with VERSION define when not using configure

1.3.0
closed-invalid
Erik
None
5
2014-03-21
2014-03-06
No

When not using configure or a config.h format.c won't compile because it expects the VERSION define to be a quoted string which cannot be set via the -D compiler switch. You need to modify the source to include the define or replace it with a literal in the source to successfully compile.

Discussion

  • Oliver Stöneberg

    Also since the VERSION define is #undef'd and #define'd in the config.h I see no reason to pass it via

    -DVERSION=$(VERSION)

    in build/exe.mk and build/lib.mk

     
  • Oliver Stöneberg

    Nevermind. The bug was actually to related to some build wrapper swallowing the quoting under certain circumstances.

     
  • Erik

    Erik - 2014-03-21
    • status: open --> closed-invalid
    • assigned_to: Erik
     

Log in to post a comment.