Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > Re: codecvt.cc:...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 8 Topic 43094 of 48417
Post > Topic >>

Re: codecvt.cc:39: error: ISO C++ forbids declaration of

by wong_powah@[EMAIL PROTECTED] Feb 5, 2008 at 07:08 AM

On Feb 5, 1:04 am, Travis Vitek <travis.vi...@[EMAIL PROTECTED]
> wrote:
> On Feb 4, 6:57 pm, wong_po...@[EMAIL PROTECTED]
 wrote:
>
>
>
> > How to fix this compile error?
> > # make -f Util/UtilBlock.dep
> > g++     /opt/aCC/include_std/rw/codecvt.cc   -o /opt/aCC/include_std/
> > rw/codecvt
> > /opt/aCC/include_std/rw/codecvt.cc:32: error: use of namespace `std'
> > as expression
> > /opt/aCC/include_std/rw/codecvt.cc:39: error: ISO C++ forbids
> > declaration of `_RWSTD_NAMESPACE_BEGIN' with no type
> > /opt/aCC/include_std/rw/codecvt.cc:39: error: syntax error before
> > `template'
> > /opt/aCC/include_std/rw/codecvt.cc:43: error: syntax error at end of
> > input
> > make: *** [/opt/aCC/include_std/rw/codecvt] Error 1
>
> The problem is that your makefile is trying to compile the .cc file
> directly. Your makefile should only be trying to compile your `Util/
> UtilBlock.cpp'.
>
> Travis

I know that the makefile has the problem of compile the .cc file
directly.
However, I do not figure out how to fix the makefile yet.
 




 8 Posts in Topic:
codecvt.cc:39: error: ISO C++ forbids declaration of
wong_powah@[EMAIL PROTECT  2008-02-04 15:08:26 
Re: codecvt.cc:39: error: ISO C++ forbids declaration of `_RWST
red floyd <no.spam@[EM  2008-02-04 23:11:02 
Re: codecvt.cc:39: error: ISO C++ forbids declaration of
Martin York <Martin.Yo  2008-02-04 15:30:35 
Re: codecvt.cc:39: error: ISO C++ forbids declaration of
wong_powah@[EMAIL PROTECT  2008-02-04 18:57:46 
Re: codecvt.cc:39: error: ISO C++ forbids declaration of
Travis Vitek <travis.v  2008-02-04 22:04:45 
Re: codecvt.cc:39: error: ISO C++ forbids declaration of
wong_powah@[EMAIL PROTECT  2008-02-05 07:08:19 
Re: codecvt.cc:39: error: ISO C++ forbids declaration of
wong_powah@[EMAIL PROTECT  2008-02-05 07:29:37 
Re: codecvt.cc:39: error: ISO C++ forbids declaration of `_RWST
red floyd <no.spam@[EM  2008-02-05 09:22:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 10:51:43 CST 2008.