Map issue using the old/default std

Please, help with the following simple compilation
// print_routines.cpp
#include <map>
#include <string>
int main()
std::map<const std::string, bool> fred;
return 0;
-bash-3.00$ CC print_routines.cpp
"/opt/SUNWspro/prod/include/CC/Cstd/./map", line 251: Error: Multiple declaration for std::map<const std::string, bool, std::less<const std::string>, std::allocator<std::pair<const std::string, bool>>>::insert(const std::pair<const std::string, bool>&).
"print_routines.cpp", line 6: Where: While specializing "std::map<const std::string, bool, std::less<const std::string>, std::allocator<std::pair<const std::string, bool>>>".
"print_routines.cpp", line 6: Where: Specialized in non-template code.
1 Error(s) detected.
Thank you very much.
stephen

Your problem is discussed in the Library Compatibility section of the Sun C++ FAQ:
http://developers.sun.com/sunstudio/documentation/ss11/mr/READMEs/c++_faq.html#LibComp                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • I created a new ID for my Iphone, because the old ID was an email address I no longer have. Also, the phone wouldn't recognize the password I have always used. Now the problem is when I try to update my apps, it automatically wants to use the old ID.

    I created a new ID for my Iphone, because the old ID was an email address I no longer have. Also, the phone wouldn't recognize the password I have always used. Now the problem is when I try to update my apps, it automatically wants to use the old ID. I've set the new ID for the phone, but it defaults to the old one when asking for a password to update apps.

    That's because all apps are forever tied to the Apple ID used to obtain them, & can only be updated using that ID.
    To use your new ID with these apps, you'll have to delete them, then repurchase. Or, contact iTunes support, explain the situation, & ask that they add these apps to the download queue of your new ID.

  • IPhone 4S fell on some water, was working but now won't work. I got a replacement coming. Can I use the old Sim card in the new phone if it wasn't damaged? Will I get my pictures and contacts and messages back if it wasn't damaged?

    My iPhone 4S accidentally fell into a very shallow bit of water. The phone was wet, but worked afterwards for a short bit. Now it's not working, so I called and got a replacement phone coming. Same exact phone. Can I use the old Sim card in the new phone without harming anything? I don't know if the sim card got messed up or not, but I had a lot of pictures and messages and my contacts on my phone, and I assume these were on the sim card or am I wrong? I just wan to know if I can use the old sim card if it's still working in the new phone that is coming, as long as there was no damage to it? Thanks

    I think I had it on the iCloud, I just changed computers and had part of my old computer backed up, where are the default iTunes info saved like the pictures and I know my contacts were backed up cuz I kept getting updated stuff that I wasn't sure about, but it was contacts where some belonged to my wife's contacts....but anyway, if the cloud backed up contacts, it should have grabbed pictures too? Like I asked before, if they were backed up to the computer, is there a default iTunes folder they are saved to? I had a crap load of pictures on there that I usually could really access if I was connected to wi-fi. I turned off my data stuff as I only have 4GB and between me and my 2 kids, we seemed to use up a lot of it. My son would play music from Pandora during work, and use up all our data til I limited him to only 3GB, my daughter and I barely used 1GB. Anyway, thanks to everybody that is answering. I thought I might have done good finding the dang sim card, but pointless I guess.
    Ralph - F.Y.I. I would be happy to back up the iPhone if I could turn it on LOL......I am pretty positive I did, but what about Text messages? ANY of those saved too or not? Sorry guys, I don't know a **** of a lot about cell phones, but I do know about memory cards, but not sim cards that act like memory cards or look like them anyway. What is the purpose of a sim card if I may ask a stupid question since they don't hold any data from my phone stuff. I just hope my stuff comes back on the new replacement phone once I get it up and running. Again, thanks to everybody for the edumucation.

  • Had to reinstall iTunes,backed up iPhone5 before the reinstall and need to restore the iPhone backup that is on the computer,Windows8, but it is not an option in the new iTunes restore menu. How do I map or add the old backup to the new iTunes?

    Had to reinstall iTunes,backed up iPhone5 before the reinstall and need to restore the iPhone backup that is on the computer,Windows8, but it is not an option in the new iTunes restore menu. How do I map or add the old backup to the new iTunes restore option?

    Hi MrsMoosie,
    I'm sorry to hear you are having these issues with your iPad. If your iPad isn't responding or doesn't appear to be charging, you may find the information and troubleshooting steps outlined in the following articles helpful, in particular the following portion:
    If you don't see the charging screen within an hour, or you see the connect to power screen, check your connector, USB cable, and power adapter. Make sure that everything is plugged in firmly, free of debris, and not damaged. You might want to try a different USB cable or power adapter.
    If your iPhone, iPad, or iPod touch doesn't respond or doesn't turn on - Apple Support
    If you can’t charge your iPhone, iPad, or iPod touch - Apple Support
    Regards,
    - Brenden

  • Is there any way to disable Quick Find and use the old VS 2010 find?

    I really dislike the Quick Find dialog. It's one of the few tools from the VS 2010 Productivity Pack that I always disabled. It looks like they've forced it on us with 2012 though, so I'm wondering if there's a way to disable Quick Find and use the old
    style Find dialog?

    I wish the VS2012 devs would realize just how badly the Quick Find tool slows me down. It's poorly labelled, does a full search immediately after every single keystroke, and doesn't default to whatever's highlighted in the code when invoked. It
    makes me feel like I'm the only one who uses the product.
    I agree with ElectricNinja and
    Disable Quick Find in VS 2012
    The quick find is terrible, and was one of the few tools that I'd disable in the 2010 pack.  wish there was a way to return to the good old normal find. 

  • I would like to know if is possible to use the old iSight with my powerbook (mid 2009)?

    I would like to know if is possible to use the old iSight with the macbook pro (mid 2009)?

    Hi,
    If the Mac has Firewire then you can use the External iSight
    (Other readers
    If you have Firewire 800  then you will need an adapter to use the Firewire 400 camera - Search for the word Adpater and see posts by EZ Jim for more details)
    Don't daisy-chain the camera with Hard Drives
    The camera only uses a data rate of 200Mbps and the differences in Hard Drive data speeds can be an issue.
    The External iSIght should work no matter what Firmware is on there currently.
    There is some evidence that having the 1.0.3 version (Open the System Profiler > Hardware > Firewire) on the device makes it more compatible/useable in later OS versions
    The Updater is included in Tiger and Leopard. 
    Hard Drive/System/Library/CoreServices/iSight Updater/iSight Updater.app
    An OS Update could "trigger" this to be run if you have Tiger
    It can also be run as a Standalone.
    It is Not present in Snow Leopard and although the documentation says this Firmware is an Audio update some people report that the camera needs the 1.0.3 Firmware to run.
    (that could simply be the "Flashing" the Memory involved resets it enough to work)
    10:22 PM      Wednesday; June 8, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    read this
    https://discussions.apple.com/message/20429789#20429789

  • I am using the old imovie HD on my old Mac laptop... it works fine, but when I export a video to YouTube there is a black frame around it.. how do i get rid of that? thanks!

    I am using the old imovie HD on my old Mac laptop... it works fine, but when I export a video to YouTube there is a black frame around it.. how do i get rid of that? thanks!

    Hi MyAppleID99,
    You may want to check to make sure the clip hasn't been moved back and forth between wide screen and standard aspect ratios; sometimes a combination of letterboxing and pillarboxing can lead to a black frame "windowbox" when playing the final video. You may find the following article helpful:
    Apple Support: What are Letterboxing, Pillarboxing and Windowboxing?
    http://support.apple.com/kb/ht2320
    Regards,
    - Brenden

  • I recently updated my primary email address associated with my Apple ID account. When I go to App store on my iPad it still tries to login to the App store using the old email address I had associated with the account, and naturally my password doesn

    I recently updated my primary email address associated with my Apple ID account.
    Now when I go to App store on my iPad it still tries to login to the App store using the old email address I had associated with the account, and naturally my password doesn't work. I can't figure out how to tell my iPad to login using the updated email address.
    So in effect I'm locked out of the app store and I currently have 26 updates waiting.
    I've tried disconnecting and reconnecting my IPad to iCloud with no luck.. However I cloud happens to show the correct/updated email address.
    Does anyone know how to resolve this?
    Thanks

    Did you change the email for the Apple ID or did you create a new Apple ID? A new Apple ID cannot be used with content that was bought using a different Apple ID.
    Changing the email address you use for your Apple ID -
    http://support.apple.com/kb/HT5621

  • Is it possible to use the old iMac 2010 21inch as an external monitor for my 15inch Macbook retina?

    Is it possible to use the old iMac 2010 21inch as an external monitor for my 15inch Macbook retina? E.g. Using a mini-display cable to connect from the imac mini display port to thunderbolt port on my macbook.

    Apple shows only the 27" version supporting Target Display Mode.
    <http://support.apple.com/kb/HT3924>

  • My old Apple ID won't allow me to use the old password to log out of the cloud. I can't use the new one, either. The new Apple ID is in the iTunes and App store. But I can't change it on the cloud without logging out. Which I can't do.

    I can't use the old Apple id and Apple password on my new Iphone 6 - I can use the new ones. But I can't access the cloud in the meantime. The iTunes and App Stire has the new Apple ID, but I can't get into the settings to change it on the iCloud. It asks for the Old Apple ID and password, which doesn't work. Does anyone know how to change the old Apple ID on the iPhone in the settings for the iCloud?

    First, try the new password.  If you didn't sign out of iCloud prior to changing the primary email address of your Apple ID, this is what can cause this problem.
    Also, read this: If you're asked for the password to your previous Apple ID when signing out of iCloud - Apple Support

  • I'd like to know how can i connect my old iMac tiger with new one iMac lion. I wanna use the old one for external disk to collect files from there to new one.

    I'd like to know how can i connect my old iMac tiger with new one iMac lion. I wanna use the old one for external disk to collect files from there to new one.

    Hi mshields1162,
    Great question, and welcome to Apple Support Communities.
    First, you may want to choose to have the sidebar displayed for familiarity:
    iTunes 11: Frequently used features
    http://support.apple.com/kb/HT5649
    Afterwards, your device should be displayed if connected:
    We'll want to click on it, and choose the Music tab at the top. Let's make sure "Sync Music" is checked:
    Afterwards, you'll have the option to sync either the entire music library (for your first iPod), or "Selected playlists, artists, albums, and genres" (for the secondary device). Upon selecting this option, four larger option boxes will appear allowing you to pick and choose what content will be synced. For audiobooks, you may need to do the above in the "Books" section. For a visual instruction on how to do this, see the following:
    iTunes 10: Sync to your iPod
    http://support.apple.com/kb/VI72
    Thanks,
    Matt M.

  • HT3406 If I choose "restore from iTunes backup" to move everything from old phone.  Will I still be able to use the old phone for music and apps?  Can the old phone be docked up to the computer?  Or will the new and old phone overwrite each other in some

    If I choose "restore from iTunes backup" to move everything from old iphone to a new one, will I still be able to use the old phone for music and apps?  Can the old phone be docked up to that same computer every now and then?  Or will the new and old phone overwrite each other in some way?  In other words, are the two phones treated as different devices when the "restore" option is used to set up the new phone?   Thanks in advance.

    Yes, you can use the old iPhone as an iPod touch.
    Read this:
    http://support.apple.com/kb/HT3406

  • I recently upgraded laptops and my new laptop asks me to authorize this one for purchases I made years ago and I don't remember the password.  Can you use the old backup discs to restore them?

    There are quite a few songs, videos, television shows, and movies I purchased years back, well before the cloud with two different user id's that I don't remember the passwords for, and when I try and get to the security questions, it says the information doesn't match.  I'm ****** because I'm sure they will have some convenient excuse for not getting me out of this mess with my new laptop, but as long as my old one works, I can still access the previous library, where EVERYTHING plays.  How can the new laptop not be recognized when I had all of the information transferred from the old laptop?  Now I have to hope my old laptop doesn't crap out for a few years longer!!

    I have the same problem - it is maddening. I rely on this iPad for work so this is not just an annoyance! The above solutions of changing the appleid on the device or on the website do not work.
    The old email address no longer exists - I haven't used it in a year probably and I no longer have the account.  I logged into the appleid website and there is no trace of the old email address so there is nothing that can be deleted or changed there.  On the iPad there is no trace of the old email address so nothing can be deleted there either. I have updated the iPad software and the same problem comes right back.  Every 2 seconds I am asked to log in using the old non-existent email.  The device is currently useless.
    The only recent change to anything was the addition of an Apple TV device, which was set up using the correct login and password.
    Does anyone have any ideas? The iPad has been backed up to the iCloud so presumably it now won't recognize the current iCloud account? So restoring may notbe an option?

  • I have an old iPhone (3s) that I've now replaced with a newer one.   I would like to use the old iPhone in the same way I do an touch.   When I plug it into my Mac laptop, there is no recognition on my computer of this old iPhone.   What can I do?

    I have an old iphone that I've replaced with a newer one :-) and I'd like to use the old one in the same way I do an itouch.   When I plug it into my Mac laptop, there is no recognition of it as a device.   Help!   What do I do????

    http://support.apple.com/kb/ht3406

Maybe you are looking for