[CentOS] CentOS 6.2-x86-64
Leonard den Ottolander
leonard at den.ottolander.nlThu Jun 21 14:33:52 UTC 2012
- Previous message: [CentOS] CentOS 6.2-x86-64
- Next message: [CentOS] CentOS 6.2-x86-64
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Gene, On Wed, 2012-06-20 at 15:59 -0400, Gene Heskett wrote: > header.cc:77: error: invalid conversion from ‘const char*’ to ‘char*’ > Lines 77-78 in that file: > if (!(dom = strrchr (msgid, '@'))) > return -1; > > Obviously strrchr() tries to convert the header spec here from line 35: > > int Header :: rfc822_valid_msgid (const char* msgid) > > into a plain char. Boom on a 64 bit machine. A char is always 8 bit regardless of the architecture. The issue is a const char* being converted to a char*. Try declaring dom as const char* dom and see if that helps. (Note that this makes the content of the pointer constant, not the pointer itself.) Regards, Leonard. -- mount -t life -o ro /dev/dna /genetic/research
- Previous message: [CentOS] CentOS 6.2-x86-64
- Next message: [CentOS] CentOS 6.2-x86-64
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list