Giter Site home page Giter Site logo

Comments (3)

mtwebster avatar mtwebster commented on June 29, 2024 1

I gave --buildtype=debugoptimized a try and the build succeed, looking at this I wonder if we are encouraged to package in this way:

As the guy fielding bug reports, I'd recommend it - I think that was the point of 'debugoptimized' also. There's a little bit of detail under rule 4 here.

from xapp.

z1atk0 avatar z1atk0 commented on June 29, 2024

Same here, configured with meson setup -D buildtype=release. The following patch fixes this problem (github won't let me add this as an attachment - "We don't support that file type" 🤷‍♂️).

diff -pru xapp-2.6.0-orig/libxapp/xapp-debug.c xapp-2.6.0/libxapp/xapp-debug.c
--- xapp-2.6.0-orig/libxapp/xapp-debug.c	2023-06-01 11:17:06.000000000 +0200
+++ xapp-2.6.0/libxapp/xapp-debug.c	2023-06-02 21:06:04.203763532 +0200
@@ -22,6 +22,8 @@
  * Copied from nemo
  */
 
+#ifdef ENABLE_DEBUG
+
 #include <stdarg.h>
 
 #include <glib.h>
@@ -127,3 +129,4 @@ xapp_debug_valist (DebugFlags flag,
   }
 }
 
+#endif

from xapp.

mtwebster avatar mtwebster commented on June 29, 2024

Fixed by 2015b64

from xapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.