Re: Compiler options for Ming 0.3.0?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Justin,

gcc shouldn't parse mingpp.h header without errors. g++ should :)

Cheers
    Klaus

> Hi all,
>
> Trying to adjust my application so that it uses Ming 0.3.0 instead of
> Ming 0.4.0-beta5.
>
> However, having problems right from the start. :(
>
> Wondering if I'm using the wrong compiler options, as gcc (4.1.2) isn't
> even parsing the mingpp.h file properly as is:
>
> ****************
>
> gcc -I/tmp/ming/include -DORBIT2=1 -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo
> -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0
> -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
> -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0
> -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0
> -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2   -Wall -I.
>     -c -o functions/menu_export_flash_control_bar.o
> functions/menu_export_flash_control_bar.c
> In file included from functions/menu_export_flash_control_bar.c:32:
> /tmp/ming/include/mingpp.h:29: error: expected identifier or â??(â??
> before
> string constant
> /tmp/ming/include/mingpp.h:90: error: expected â??=â??, â??,â??, â??;â??,
> â??asmâ?? or
> â??__attribute__â?? before â??SWFInputâ??
> /tmp/ming/include/mingpp.h:118: error: expected â??=â??, â??,â??, â??;â??,
> â??asmâ?? or
> â??__attribute__â?? before â??SWFBlockâ??
>
> (and many more)
>
> *********************
>
> Any ideas?  This is pretty important for me to get working.
>
> Regards and best wishes,
>
> Justin Clift
>
> --
> Salasaga  -  Open Source eLearning IDE
>                http://www.salasaga.org
>



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ming-users mailing list
Ming-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ming-users


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux