Re: Trying to resolve "Internal Compiler Error" Conflict



Hi Frank,
You may only repro that error with VC++ 6.0
Thanks
Jack

"Frank Hickman [MVP]" <fhickman_NOSP@xxxxxxxxxxxxxxx> ¼¶¼g©ó¶l¥ó·s»D:O2Y$1PDVFHA.1152@xxxxxxxxxxxxxxxxxxxxxxx
> "Jacky Luk" <jl@xxxxxxxxxx> wrote in message
> news:uurRHy6UFHA.2168@xxxxxxxxxxxxxxxxxxxxxxx
>> Hi,
>> I have eventually found out the reason why some "Internal Compiler
>> errors" occurred in the program I've downloaded from the public domain,
>> was that the programmer had used the "Friend" operators after "using
>> namespace std", so collapsed during compilation. I commented out that
>> part but I couldn't pin down the other errors that were caused by
>> "foreach(...)" and the "string" identifiers all over the places. Do I
>> definitely have to substitute all "strings" identifiers by "char *" or
>> that can be resolved somehow or something that can be used in lieu of the
>> "std" namespace that leads to a successful compilation?
>> Thanks
>> Jack
>
> The "using namespace std" statement makes it possible to use objects like
> string str; instead of std::string str; You can remove the statement and
> replace all the occurances of string with std::string and it will still
> work properly. Is there some reason why declaring a "friend" to an object
> and "using namespace std" are not working properly for you? I have used
> these together without any problems.
>
> --
> ============
> Frank Hickman
> Microsoft MVP
> NobleSoft, Inc.
> ============
> Replace the _nosp@m_ with @ to reply.
>
>


.



Relevant Pages

  • Re: Gawd, how could I miss THIS one????
    ... > I intentionally used the Gacy analogy for a reason. ... >> Frank, my take is that Dudly was NEVER in the USMC. ...
    (rec.radio.amateur.policy)
  • Re: ATWT: Is Holden reconstructing their house?
    ... Some of the dialogue about people being there while Emma was gone was 'in ... Jack was staying there because Carly kicked him out. ... No reason was ever established. ... thought Brad was already staying there, ...
    (rec.arts.tv.soaps.cbs)
  • Re: The Yenta speaks
    ... :>: Eastwick and Prizzi's Honor) in the Departed. ... AFAIK Frank Costello did not have supernatural powers. ... no serious object to Jack either. ... the watch scene in ...
    (alt.sports.baseball.ny-yankees)
  • Re: Yo Kyle, Have you censored me?
    ... way they are and it's been pretty much that way since inception. ... Insiders are just as stuck as the outsiders are. ... Kudos, Frank, I'll start reading your ... until you give me a reason not to. ...
    (rec.sport.disc)
  • Re: I am in the mood for some Frank Zappa music!
    ... Funny thing I read about Jack Bruce on Apostrophe: ... The title track is an instrumental featuring Cream bassist Jack Bruce ... Bruce is credited with bass guitar on the album cover and in most ... Can you tell me something about your cooperation with Frank ...
    (rec.music.gdead)