[Tfug] C Compiler string limitations?

Bexley Hall bexley401 at yahoo.com
Mon Jul 17 12:27:30 MST 2006


Hi,

I'm curious if anyone has had any experiences with
compilers choking on long strings/byte arrays.

I have some data structures that look like:

"..." ## "..." ## "..." (etc)

and, in the interest of portability, would hope that
few compilers would gag on them.

I can, alternatively, rewuite them as char[] but
that's a bit more processing in my scripts
(the structures are built automatically).

I know GCC uses a crapload of VM when processing
large arrays but, with enough swap, that's not
an issue.  I'm just wondering if other toolchains
simply crash-and-burn in these cases...

Thanks!
--don

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the tfug mailing list