Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » _Gstaticassertcompiletimeassertion_0 is negative-error
_Gstaticassertcompiletimeassertion_0 is negative-error [message #49457] Wed, 14 February 2018 02:57 Go to previous message
mtdew3q is currently offline  mtdew3q
Messages: 181
Registered: July 2010
Location: Upstate, NY (near Canada)
Experienced Member

Hi-
I can compile this under gcc without MinGW in cygwin.

I tried to compile it under MinGW with theIDE. I am getting an error msg.

Any cool ideas how to get past this error?

My command to compile it under terminator console for glib and c is:

cc test.c `pkg-config --cflags --libs glib-2.0` -I/usr/include/glib-2.0/glib/ -o versa

that code works in terminator but below is the error I get with MinGW in ultimate. I thought it would be cool to use theIDE instead of command line. However, I could get by with using the command-line or makefile if I can't get past this.

Thx. for any cool assistance - mtdew3q

C:\cygwin64\usr\include\glib-2.0/glib/gmacros.h:232:53: error: size of array '_GStaticAssertCompileTimeAssertion_0' is negative
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED
 
Read Message
Read Message
Read Message
Previous Topic: Compiling a POSIX Package
Next Topic: .exe not launching: sometimes
Goto Forum:
  


Current Time: Fri Mar 29 16:26:55 CET 2024

Total time taken to generate the page: 0.01473 seconds