Re: C1060 while compiling large hard-coded char array with VS2005
- From: Lubdha Khandelwal <lubdha@xxxxxxxxx>
- Date: Wed, 14 Nov 2007 14:36:03 -0000
I believe that there is, and that you're orders of magnitude past it. If
you want to include a binary image in a build, there are much better ways to
do it than emitting a 100Mb initialized array as C code. For example, embed
the binary file as a resource.
Thanks for your response. I had started the way of embedding it as a
binary resource. However I need a cross-platform solution that works
across Linux, Mac, Windows etc so I was hoping to generate a custom
solution. Proably not.
Lubdha
.
- References:
- C1060 while compiling large hard-coded char array with VS2005
- From: Lubdha Khandelwal
- Re: C1060 while compiling large hard-coded char array with VS2005
- From: Carl Daniel [VC++ MVP]
- C1060 while compiling large hard-coded char array with VS2005
- Prev by Date: Re: Comment C++ code like C#
- Next by Date: Re: Does anyone know what this text means? (related to C4251 warning)
- Previous by thread: Re: C1060 while compiling large hard-coded char array with VS2005
- Next by thread: A GOTCHA! to avoid with Modal Forms
- Index(es):