Re: Problems compiling libuci on VC6++
"ChristianHJW" <[email protected]>
| Newsgroups | gmane.comp.video.uci.devel,gmane.comp.video.vdubmod.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, just informing you that Suiryc told me was finally successful to compile libuci in VC6++ ... dont know about the changes he had to do, he may be the better person to comment here. Alex, any updates of libuci already lying around on your HDD somewhere ;-) ?? Christian "ChristianHJW" <[email protected]> wrote in message news:[email protected]... | http://www.corecodec.com/modules.php?op=modload&name=phpBB2&file=viewtopic&t | =168&start=15 | | Suiryc wrote : | | [quote] | I had a look at UCI CVS and some changes will have to be made for the code | being useable under VC++ 6 (and other compilers I think). | | According to the problems I encountered and what I could find on the net | seems like foogod uses GCC to compile (or similar) because there are some | features that cannot be used in VC++ 6 (even maybe under VC++.NET, didn't | tested). | | What I am talking about here concerns the uci_param_value union, and the | macros defined to initialize / generate constants out of it. | foogod uses a {.field = value} trick that, as far as I could read, is | defined in C99 specs (standard C specs). But apparently there is not that | much compiler that are C99 compliant (they are just C89 compliant) : even | GCC (that can handle the trick thought) isn't 100% C99 compliant. | | A workaround is to define constructors for the union ... but of course in | this case we are not anymore in C but C++ ... (which makes me have to force | casts ). | | And then I learn that VC++ isn't POSIX, which makes that the | platform_linux.c has to be reworked too (half of the functions and | structures used are not defined in VC++). | | Finally after a *lot* of hack I could use the files ...[/quote] | | | Alex, you care commenting ?? Please copy the new list | [email protected] | ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html =========================================================================== Universal Codec Interface (UCI) maillist, [email protected] https://lists.sourceforge.net/lists/listinfo/uci-devel http://uci.sourceforge.net/