Re: wget build: is this normal?
"Ger Hobbelt" <[email protected]>
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Sep 26, 2008 at 8:42 AM, Steve <[email protected]> wrote: > Your sources don't have that 'subscription out of range' errors. But your sources fail on my setup (while the wget version of CRM114 works): > ---- > crm114_osbf.h(160): error: expected a ")" > * unsigned int spectrum_start */); > ^ The exact code there is this: extern int crm_osbf_create_cssfile(char *cssfile, unsigned int buckets, unsigned int major, unsigned int minor /* [i_a] unused anyway , * unsigned int spectrum_start */); and that /* ... */ multiline comment is fully C89/C99 conformant, so I am _very_ interested to know what compiler brand, version and patchlevel you are building this with, because this looks like a compiler bug to me. (More precisely: a b0rked preprocessor as that's the one responsible for eliminating all comments from code in C compilers.) > crm_vector_tokenize.c(401): warning #279: controlling expression is constant > CRM_ASSERT(!"This should never happen in a properly coded CRM114..."); > ^ neglect these warnings; they are intentionally coded that way. It's a basic idiom to get an assertion to trigger always, but still with a useful message (assertions print the expression they evaluate). -- Met vriendelijke groeten / Best regards, Ger Hobbelt -------------------------------------------------- web: http://www.hobbelt.com/ http://www.hebbut.net/ mail: [email protected] mobile: +31-6-11 120 978 -------------------------------------------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/