Re: release build failed!!!



Karim,

I did a quick & dirty console project with your enum. It compiles fine with
VC2005 using default debug and release settings.

IMO, you should forget all errors other than the very first one until it is
fixed. You may find that the other errors are fixed once you solve the
problem indicated in the first.

Copy the project and start cutting out unrelated code until you have the
simplest possible project to work with.

The other comments regarding character case and choice of words make a lot
of sense. If nothing else, using 'ALIGNMENT', 'TYPE', 'CLASS', 'CASE', etc
as identifiers is *really* bad style.



"karim" <karim@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3DA31799-1B3E-4DD7-BBB8-C9C0B31D3377@xxxxxxxxxxxxxxxx
hi,
i have problem with my release build(my debug build compiled
successfully).
All errors are pointing to a single statement, which is below.

static enum
Value{BASE,ALIGNMENT,ORIENTATION,SIDE,TYPE,SCALING,BARCODE,CLASS,ACCESS,OVERFLOW,
STYLE,CASE,COLOR,HORIZONTAL,VERTICAL,FILLCOLOR, FILLSTYLE, FOLD, SOURCE};

The kind of errors i am getting are
Error 1 error C2143: syntax error : missing '}' before
'constant' c:\migration sandbox\simptr\include\ValueTable.h 48

Error 3 error C2059: syntax error : 'constant' c:\migration
sandbox\simptr\include\ValueTable.h 48

Error 26 error C2065: 'FOLD' : undeclared identifier c:\Migration
SandBox\SimPTR\source\XFSPrinterMediaParser.cpp 69

There are 113 errors and all are of the above kind and pointing to same
statement.

Can anyone help me out.
thanks in anticipation.
karimulla.


.



Relevant Pages

  • Re: Debug mode wont build. Release does.
    ... The settings are Multi-Threaded Debug and Multi-Threaded for Debug and Release respectively. ... It compiles and links in Debug and Release. ...
    (microsoft.public.vc.ide_general)
  • Re: .net cf sp2 problem
    ... Usually when you tell VS to debug it compiles ... > system is Traditional Chinese. ... > White Rong ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: How to compile simple command prompt apps in VC++ .NET like in VC+
    ... Joachim wrote: ... You will have to create a [console app] project for it. ... If all you need is to test if some code compiles, ... file, compile, build, debug... ...
    (microsoft.public.vc.language)
  • Re: How can I develop in C with VS2005 for Pocket PC??
    ... Ok, I just have substitute in my C code the main function for WinMain, ... Now it compiles with 0 ... when I want to run it or debug it (at the moment I have only some ... yet nothing of Pocket PC) it appears like a pocket pc ...
    (microsoft.public.pocketpc.developer)
  • error with release build
    ... I have a visual studio 2008 asp.net project that compiles fine in debug ... when I switch to release build I get this error: ...
    (microsoft.public.vsnet.general)