Problems and Workarounds from Sun Workshop[tm] 6 update 2 C++ Compiler Read

Hello out here,
the Sun Workshop[tm] 6 update 2 C++ Compiler Readme says
in Chapter E. Problems and Workarounds
and
Topic 4. Reference From Template to Non-Global File-Scope object is Not Supported:
A program using templates and static objects causes link-time errors of undefined
symbols. The compiler currently does not support reference to non-global file-scope
objects from templates.
So my problem is:
I have static tyname objects in Templates and get that link-time errors of undefined
symbols.
And I do not know how to get rid of that static typename objects.
Is there a Workaround?
Which?
P l e a s e h e l p.
If you need further information, please let me know.
Any help is appreciated.
Thanks in advance.
Yours truly
Karsten J. Martin

Hello,
Thank you for your detailed answer!
Unfortunately there has arosen another problem while
migrating from 4.2 to SunWorkshop[tm] 6 update 2 C++ Compiler.
Here comes the original(4.2) code:
template <class PersistObject>
class DIDDatabaseInterface : public DIDPersistenceInterface<PersistObject>
private:
     DIDTableObject<PersistObject>     m_tableObject;
public:
It does not compile under Version 6.
Now the new version:
template <class PersistObject>
class DIDDatabaseInterface : public DIDPersistenceInterface<PersistObject>
private:
typedef     DIDTableObject<PersistObject> PersistTable;
static typename DIDDatabaseInterface::PersistTable m_tableObject;
public:
That compiles until...
"did_factory.cc", line 73: Information: Instantiating DIDDatabaseInterface<Devx003>::DIDDatabaseInterface(const RWDBConnection&)
"did_persist.cc", line 81: DIDDatabaseInterface<Devx003>::m_tableObject cannot be initialized in a constructor.
Here comes line 81 and surroundings(compiles under 4.2):
template <class PersistObject>
DIDDatabaseInterface<PersistObject>::DIDDatabaseInterface(const RWDBConnection &c)
     :     DIDPersistenceInterface<PersistObject>(),
          m_tableObject(c)
Any idea?
I would be grateful if you could help.
Thank you so much.
Sincerely yours
Karsten J. Martin

Similar Messages

  • Hello, I have Mac released in mid 2012 with OS 10.10.2, my friend has downloaded iMovie and iPhoto from his ID, whenever any updates comes I have to depend upon his Apple Id,  to get rid of it, I deleted the app and now when I m trying to download it

    Hello,
    I have Mac released in mid 2012 with OS 10.10.2, my friend has downloaded iMovie and iPhoto from his ID, whenever any updates comes I have to depend upon his Apple Id,  to get rid of it, I deleted the app and now when I m trying to download it from my Apple ID it is showing the price of the app. It should show free. Pls help.

    Log in with the Apple ID used to register the computer. If you don't have access to it or the applications still don't show as being free, click here and contact Apple.
    (124995)

  • TS4001 Bookmarks are not syncing to ONE of my Macs, but showing up on other Mac (work), iPhone 4 and iPad 1. Macs are on Mountain Lion. Tried all of Apple's suggestions - and the one Mac is still not updating/syncing Bookmarks or Reading List. What's goin

    Bookmarks are not syncing to ONE of my Macs, but showing up on other Mac (work), iPhone 4 and iPad 1. Macs are on Mountain Lion. Tried all of Apple's suggestions - and the one Mac is still not updating/syncing Bookmarks or Reading List. What's going on? Do I have to wait to OS update? It seems lots of peolple were having issues before ML, but I as fine. Since ML, I am having all kinds of issues!

    Yeah, I literally have tried everything except deleting my iCloud account (I'm close, but that would require so many changes that it is way too painful to consider at this point).
    I am still waiting to hear back from Apple Support. Hopefully something can be done, or they can do a reset on their end.
    Thanks for taking the time to respond though, much appreciated!

  • Training  and courses from  sun for free?

    Do You some online courses/training from SUN for free? (develop. and administration)
    or can You tell me witch books are the best to learn java?

    Skowroniasty wrote:
    Do You some online courses/training from SUN for free? (develop. and administration)Nope.
    or can You tell me witch books are the best to learn java?This is The List™:
    [Sun's basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
    [Sun's New To Java Center|http://java.sun.com/learning/new2java/index.html]
    Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    jGuru
    A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch
    To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    [Yawmarks List|http://forums.devshed.com/java-help-9/resources-for-learning-java-249225.html]
    [The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance]
    [http://javaalmanac.com|http://javaalmanac.com]
    Bruce Eckel's [Thinking in Java(Available online.)|http://mindview.net/Books/DownloadSites]
    Joshua Bloch's [Effective Java|http://www.amazon.com/Effective-Java-2nd-Joshua-Bloch/dp/0321356683]
    Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance]
    James Gosling's [The Java Programming Language|http://www.bookpool.com/sm/0321349806]
    Gosling is the creator of Java. It doesn't get much more authoritative than this.
    Joshua Bloch and Neal Gafter [Java Puzzlers.|http://www.javapuzzlers.com/]

  • Fixes and Workarounds from HP

    The best way to get the latest software and fixes from HP is to run HP Update.
    This can be found on the Start menu under HP.  This program can be setup to run automatically.  For more information about HP Update and how it works please visit this web site.
    For more information about HP Update please click here
    Listed below are some of the patches that have been released to fix various HP software issues.
    All the fixes listed below cover various versions of HP Software, if you download and install an update and the update gives a message that it is not needed, this means that your installed version of the HP software already has the fix installed or it is not needed.
    1)  Solution Center Upgrade (Needed for HP Software versions 10 thru 12)
    This update corrects two issues:
          1) Solution Center prompting for disk when launched or during a pc reboot and
          2) Prevents an application error with hpqgpc01.exe when PC is shut down
    2)  HP Core Software Patch (Needed for HP Software versions 8 thru 10)
    Corrects an issue that causes the network connected printer to disappear from the system and/or the USB connected printer to repeatedly attempt to reinstall, and improves system responsiveness while spooling and printing documents.
    3)  HP Printer Communication Patch (Needed for HP Software versions 8 thru 10)
    This update corrects an issue that can cause your computer to lose the connection with your printer, which may result in incomplete print jobs and loss of printer status messaging.
    4) Printer Driver Patch 
    This Print Driver Update contains improvements for issues related to the following applications and/or print functionality:
         Microsoft Office 2007
         Duplex printing via network
         Printing from Intuit applications
         Print margin accuracy
         Thai language font
    5) Double sided Printer Patches and Work around
           How to setup duplex printing in the printer driver
                 Xp and Win 2k  Windows Vista  Windows 7
           Duplex Printing Second Page comes out upside down
                 Reverse Side of Two-sided Printout is Upside Down in Vista
                 Second Page Prints Upside Down When Using the Automatic Two-Sided Printing Accessory (Duplexer) in W...
    6) Latest Version of HP Smart Web Printing Application (Fixes crashing in IE 8)
            Download from Here
    7) HP Solution Center displays a Blank Screen on startup.
            For more information about this problem read this document
    JonW
    I work for HP

    This is some really good information. Thanks for taking the time to post !
    If I helped you at all it would be great if you clicked the blue kudos star!
    If I solved your post please mark it as solved to help others.
    I'm a printer tech with HP.

  • Adobe ID Problems and Support from Adobe?

    Hello
    I need to reset my Adobe ID. How can i do that? I have to many activation. How i only have one Computer and had to do a clean install this week for the first time. I tried for houres to figure out on this homepage.
    I'm very disappointed about the Adobe ID handling and ebooks DRM. The only thing I want is to read my books. I'm from Switzerland and on the homepage nothing about support.
    So can somebody help me.
    Regards from a very angry ebook Adobe ID holder.
    Guido

    So now I figure out and open a Case
    Case #0181269926
    If some supporter is reading this please hury up. I need my books for Monday evening.
    Regards
    Guido

  • Why did i loose all my apps and music from my phone when i updated it?

    WHY did i loose all my apps and music from my phonewhen i updated it?

    Without knowing all of the information we can only guess  .... And my guess would be that you did not have the apps selected to sync from iTunes on your computer. If the apps are in iTunes on you computer, select them to sync  and sync again.
    Connect the iPad and sync again - if you auto sync. Then after the iPad syncs the first time - leave it connected to the computer and select the iPad from the left sidebar under the devices heading. Click on the Apps Tab in iTunes. Select each app (click on the boxes next to the names), then click on the Apply button in the lower right corner of iTunes. Make sure that the Sync Apps heading is checked as well.
    If the apps are not in your iTunes library - if you had never transferred the purchases - you will have to download them again via the purchased tab in the App Store on your iPad. Make sure that you use the same ID to redownload the apps that you used to buy them with.

  • Plugin-container in Firefox 4; High CPU and Graphics Switching Problems and Workaround

    I recently upgraded to Firefox 4, and unfortunately, I've had many problems running Firefox under OSX on my Macbook Pro.
    The first problem I came across was that Firefox is now hardware accelerated. This should be a good thing, but due to the way Apple has implemented graphics switching, Firefox caused the discreet graphics card to be used (as seen with GFXcardstatus)
    To prevent this, I went into preferences, and disabled "Use hardware acceleration where available" under Advanced>General.
    But my problems didn't stop there. Now, it seems Firefox has decided to run plugins such as flash under a separate process called plugin-container in order to protect the browser from plugin crashes. This is a good idea (I believe Chrome and Safari do the same), but even with hardware acceleration disabled in Firefox and Flash, plugin-container still triggered the discreet graphics.
    This would actually be acceptable if plugin-container was terminated after I navigated away from the page with the flash content, but this is not what happens. Instead, plugin-container keeps using the high-powered GPU until Firefox is closed.
    At this point, I thought that I'd try to force the computer to only use integrated graphics (using gfxcardstatus), but then I discovered another problem:
    The plugin-container process was using large amounts of CPU time when flash content was visible in the Firefox window. Typically, viewing just a static flash ad would cause plugin-container to use about 60% (in addition to firefox using about 20%, that means 80% total). Obviously, this was a battery life problem.
    After all of this I think I found a temporary workaround, but there are clearly problems here that need to be resolved by the Firefox developers. There are many non tech-savvy users who are no doubt experiencing poor battery life from these problems.
    '''My Temporary Solution'''
    1. Disable hardware acceleration in Firefox in Advanced > General
    2. Disable hardware acceleration in Flash by right clicking a flash element, clicking settings, and then unchecking "enable hardware acceleration"
    2. In about:config, search for dom.ipc and set all boolean values that appear to false. This will disable Firefox's plugin-container process for all plugins.
    (At this point, if you restart Firefox, Flash will not work at all)
    3. Set Firefox to 32-bit mode by getting info on Firefox.app and then checking the "Open in 32-bit mode checkbox"
    4. Restart Firefox. Flash should be working with reasonable CPU usage (I had something like 20% with static flash ads as opposed to 80% before), plugin-container will be no more, and your Macbook will no longer switch to discreet graphics for Firefox or Flash.
    '''UPDATE:''' It seems that firefox still sometimes causes a switch to discreet graphics for certain flash elements (video players mostly). Also, I've still seen some cases where flash elements are using large amounts of the CPU, even when they are not in the current tab.
    I hope this was helpful to somebody, and if anyone has a suggestion for how to make this workaround obsolete or better, please respond.

    Ive downgraded from FF4 to 3.6 at this point. The CPU usage is out of control on OS X.

  • Future of JavaFx and commitment from Sun

    Hi All,
    I wanted to get some insight into the level of investment an organization could make into adopting JavaFX as the preferred UI technology for their products/applications. Is Sun committed to promoting JavaFX and making it production quality and implementing with time all the missing UI components? What is th efuture of JavaFx after the Sun-Oracle merger?
    thanks
    Sanjeev

    Hi Sanjeev
    in my opinion:
    JavaFX is a promising technology but it is currently too green to consider use in a serious application. To my knowledge, only one company has so far released a serious product written in JavaFX (Indaba), but I've never used it and they themselves describe it as "alpha". I believe Indaba went with JavaFx because they were reliant on Java APIs (they were originally going to use Flash)
    The JavaFX team seem to be working hard on improving the technology, particularly around performance, however it is still quite buggy, and this will hamper efforts to produce a serious application. Also, as you mention, there are gaps in the components available for use in applications. There is also work going on for tooling.
    There are very little public facts available on the future of JavaFX (aside from sporadic marketing pushes). Oracle made a public commitment to JavaFX at JavaOne, but I don't know whether you can bet a corporate strategy on that alone. We know that future releases are coming, albeit at a slow pace.
    It would be great if Sun/Oracle could come up with something more detailed, as I think that (alongside a stable platform) would do a lot to increase the confidence of developers.
    My guess is that it will end up as a stable technology, though I've no idea how long this will take. To that end, I would closely monitor the progress of the technology but maybe not adopt it as the preferred technology just yet.

  • SQL Server Problems and Questions from an SQL dummy

    I am an SQL Dummy!
    In the old 2008 version of SQL I had to run a script to fix a rounding error in my Microsoft Accounting software (no longer supported)  I think I have version 10 now?
    SQL FIX for Fiscal Year won't close
    Need to use Sql Management Studio (as oppose to more obscure osql.exe)
    to run sql script
    b) Use Sql Management Studio to execute script below:
    SELECT *
    FROM dbo.CashPostingTable
    WHERE (amountcredit <> amountCreditCompanyCurrency OR amountDebit <>
    amountDebitCompanyCurrency) AND exchangeRate=100
    If you get any rows/data back, proceed to step c), if no result, a more
    serious problem - good lucks or buy help.
    c) Use Sql Management Studio to execute script below:
    UPDATE cashpostingtable
    SET amountCreditCompanyCurrency = amountCredit,
    amountDebitCompanyCurrency = amountDebit,
    companyAmountRemainder = accountAmountRemainder
    WHERE (amountcredit <> amountCreditCompanyCurrency OR amountDebit <>
    amountDebitCompanyCurrency) AND exchangeRate=100
    Management Studio no longer works.  Is there a way to do the same thing in the version I have?
    Thank you,
    Dean

     I am an SQL Dummy!
    In the old 2008 version of SQL I had to run a script to fix a rounding error in my Microsoft Accounting software (no longer supported)  I think I have version 10 now?
    SQL FIX for Fiscal Year won't close
    Need to use Sql Management Studio (as oppose to more obscure osql.exe)
    to run sql script
    b) Use Sql Management Studio to execute script below:
    SELECT *
    FROM dbo.CashPostingTable
    WHERE (amountcredit <> amountCreditCompanyCurrency OR amountDebit <>
    amountDebitCompanyCurrency) AND exchangeRate=100
    If you get any rows/data back, proceed to step c), if no result, a more
    serious problem - good lucks or buy help.
    c) Use Sql Management Studio to execute script below:
    UPDATE cashpostingtable
    SET amountCreditCompanyCurrency = amountCredit,
    amountDebitCompanyCurrency = amountDebit,
    companyAmountRemainder = accountAmountRemainder
    WHERE (amountcredit <> amountCreditCompanyCurrency OR amountDebit <>
    amountDebitCompanyCurrency) AND exchangeRate=100
    Management Studio no longer works.  Is there a way to do the same thing in the version I have?
    Thank you,
    Dean

  • Default email app header critical problem -- and workaround

    After a bit of research, I found out why email from my Charge was being received by some email clients as garbage.  Check out this link:
    http://www.google.kg/support/forum/p/Android+Market/thread?tid=1eda730e523366c2&hl=en
    This has been known for at least 18 months,  What are they paying these email app programmers for?  They should have set up their headers according to the spec in the first place, but leaving it unfixed for this long shows even more than the normal incompetence of both programmers and supervisors.
    It appears that both the gmail app and K9 Mail have their act together in this area since email from each of them is received OK.
    Anyway, now I can keep my Charge (with those apps).  This was a critical constraint since I need to be able to send out valid email.
    (I am not marking this as solved since the default app is still broken.)

    Hello Fan4HH,
    I can definitely understand your concern regarding being able to sync your "cabinet" items to your Samsung Galaxy tablet.
    At this time, I can't seem to determine an alternate way besides moving the "cabinet" items to the inbox.
    Upon further research, it appears as though you may be able to install a 3rd party application.
    Please follow this link  http://www.companionlink.com/android/outlook/    and see if this is an option for you. 
    You may even be able to ask the application developers if their product will be able to do what you are looking for.

  • Cannot reach some websites problem and workaround

    Hi, Problem: Through a linksys router, whether standard firmware or dd-wrt, the router allows some web pages to work, whereas others are inaccessible. They just hang and time out. Affects both wired and wireless. The router is the problem as evidenced that all web sites work fine when plugged directly into the internet, bypassing the router. I looked on several forums and the suggestions seemed to be things like: - modify your MTU value - check the firmware/upgrade - reset to the default settings The responses on these threads show most of these methods do not work. I have even seen some people replacing their boxes after talking to Linksys support about this issue. Anyway, I had this issue with V4 WRT-54G with dd-wrt.v23 SP2. What I did to stop the problem occuring was: disable dnsmasq I am not sure linksys standard firmware lets you disable dnsmasq? DNS masquerading is when your router clients will send their dns queries to the router, and the router will forward them on to the ISP dns server. With dnsmasq turned off, the clients will send their queries directly to the ISP dns themselves. I tried this after noticing that the web sites I could reach, I could not resolve through the router, whereas they resolved fine with the ISP's dns server. I also noticed that the sites that tended not to work were big sites that have things like akamai on the back like windowsupdate. So now the clients are sending their DNS queries directly to the ISP dns, and opendns as backup. And that works fine. I wish I had come accross a post like this several hours of troubleshooting back.

    HI,
    Open Keychain Access (Applications/Utilities)
    Select Passwords on the left. Then delete the username on the right.
    When you logon to a site using a username and password that information is saved to the Keychain Access application.
    Carolyn

  • Difference between JSF and JPF from WebLogic workshop

    Hi i am new to JSF , currently i am working on JPF and i got a chance to work on JSF..
    I feel that event drivent programming as same as JSF and In JPF.
    Can any body explaine in detail difference between JSF and JPF
    Thanks in Advance
    Suneel.

    JSF is Sun's MVC framework for web applications.
    I've never heard of JPF, so it might not be part of Sun.

  • Creating JAR of an ejb from sun one studio 5.0

    I�ve got the following error when I�m trying to generate the jar of and ejb from sun one studio 5.0. What�s the problem?
    org/w3c/dom/Document.java [0:0] No file named org/w3c/dom/Document.java exists on disk in src.zip.
    Therefore it may not be compiled with an external compiler.
    You may need to check it out from version control or save some changes to it.
    com/ssos/ejb/information/EJBModule_InformationEJB.ejbmodule [0:0] Problem compiling class: "org/w3c/dom/Document" reason: Compile failed
    Called From: com/iplanet/services/util/XMLParser
    Called From: com/iplanet/services/ldap/DSConfigMgr
    Called From: com/iplanet/services/util/I18n
    Called From: com/iplanet/sso/SSOTokenManager
    Called From: com/iplanet/am/sdk/AMCommonUtils
    Called From: com/iplanet/am/sdk/AMException
    Called From: com/iplanet/dpro/session/service/SessionService
    Called From: com/iplanet/services/naming/WebtopNaming
    Called From: com/iplanet/dpro/session/SessionID
    Called From: com/iplanet/dpro/session/Session
    Called From: com/iplanet/am/util/Locale
    Called From: com/iplanet/sso/SSOException
    Called From: com/iplanet/sso/SSOToken
    Called From: com/ssos/ejb/information/LocalInformationEJB
    Errors compiling EJBModule_InformationEJB.

    Hep, we have the same problem. I am still trying to figure out why. I have some idea about the reason but I am testing my founding. It seems to me that the problem shows up when I add my database driver in Runtime/Databases/drivers tree (IBM DB2 driver: db2jcc.jar)
    Like I am saying I am still checking the connection. When I am convinced that indeed that is the problem, I will then try to find out why and what to do to make my life easier.
    clogon

  • Adobe Reader has encountered a problem and needs to close.

    When reading PDF attachments, I get the following:  Adobe Reader has encountered a problem and needs to close. I have tried to remove Adobe Reader via Control Panel, Add or Remove Programs but that won't work.  I get this:  This patch package could not be opened.  Verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer patch package. I don't know how to do what is being asked.  I have tried to download Adobe Reader again but get this when I do:  Note:  this application already installed.
    I have Adobe Reader X (10.0.1) with an update installed on 2/19/2011.  I have Windows XP SP3.
    Anyone who can help me get Adobe Reader working correctly again or uninstalling it so I can reinstall.
    Thanks for any help.

    Thanks for the input.  Did you remove Adobe Reader 10 first before you downloaded the older version?  If you removed it, how did you do that?  The add/remove programs in control panel won't let me remove it -- it says a patch package can't be opened.
    Date: Mon, 9 May 2011 00:12:41 -0600
    From: [email redacted by moderator]
    To: [email redacted by moderator]
    Subject: Adobe Reader Adobe Reader has encountered a problem and needs to close.
    hi
    i had also the same problem with that version.
    so i download older version and this solved the problem.
    >

Maybe you are looking for

  • Trouble installing Adobe Flash 11

    I have been at this four four days now. I have Windows XP, 32 bit. I have IE 8, 32 bit. I want to install Flash 11, (32 bit I assume). I have Norton 360. I have read every past post and still nothing. I have tried your Windows procedure many times. I

  • Can't save any changes made in EDIt mode?

    HI all I am new to apple products ... but I am now playing with iPhoto 11. I am able to import my photos from my camera with no problems. And then, in EDIT mode, under "adjust" I am able to make a lot of nice changes - De-noise, sharpness, etc.. - bu

  • Error on creating PO

    Hi Folks,    I am trying to create Standard Purchase Order. I have given todays date as Delivery Date. I am getting Error "Deliv. date outside period covered by factory calendar US" on clicking Save button.    Calender 'US' is assigned to the Receivi

  • HT4168 Can I print out my book?

    I want to be able to write my book in pages and print it out rather than have it as an e- book is this possible?

  • WLPI: managing sub-workflows

    Hi, I read in the documentation that WLPI supports the notion of sub- or child-workflows. I was wondering how this is implemented exactly. Let's say I have one parent workflow consisting of 1 task. This task starts 10 child workflows, each of which w