problem compiling with gcc 4.7.3 dbstl

Hello

my project uses dbstl and will not compile with gcc 4.7.3 und Linux x 86, unless I'm using - fpermissive. I tried different versions of db between 4.8 and 6.0.20 without success. In fact

do exstl_advancedfeatures

below, already, fails. There seems to be problems with name resolution. I couldn't find anything on the issue. Is it known? If not, where should I report it?

Best,

Andreas

brand exstl_advancedfeatures output:

. / libtool - mode = compilation g ++-I / examples/stl - c - I.-j' have... / SRC-D_GNU_SOURCE-D_REENTRANT-O3-I... / lang/cxx/STL... /examples/STL/StlAdvancedFeatures.cpp

libtool: compile: g ++-I / examples/stl - c - I.-j' have... / SRC-D_GNU_SOURCE-D_REENTRANT-O3-I... / lang/cxx/STL... /examples/STL/StlAdvancedFeatures.cpp - fPIC - DPIC-o.libs/StlAdvancedFeatures.o

In file included from... examples/STL/StlAdvancedFeatures.h:32:0.

Of... /examples/STL/StlAdvancedFeatures.cpp:9:

.. «/lang/cxx/STL/dbstl_vector.h: in the instantiation of the ' dbstl::db_vector_iterator < T, value_type_sub >: auto & dbstl::db_vector_iterator < T, value_type_sub >: operator ++ () [with T = char *; value_type_sub = dbstl::ElementHolder < char * >; < T, value_type_sub > dbstl::db_vector_iterator: auto = dbstl::db_vector_iterator < tank *, dbstl::ElementHolder < tank * > >]» :

.. /examples/STL/StlAdvancedFeatures.h:663:26: required here

.. /lang/cxx/STL/dbstl_vector.h:859:3: error: 'move_by' was not declared in this scope, and no declaration found by dependent on research of an argument when instantiating [-fpermissive]

.. /lang/cxx/STL/dbstl_vector.h:859:3: Note: basic statements depending on "dbstl::db_vector_base_iterator < char * > ' cannot find search for the absolute

.. /lang/cxx/STL/dbstl_vector.h:859:3: Note: use 'this-> move_by' instead

[...]

Hello

We have fixed all the problems of compiling for dbstl in the development branch.

So what version do you use?  Next, we'll create the patch for the specific version.

Kind regards

-Winter

Tags: Database

Similar Questions

  • problem compiling with references to projects

    Hello

    I developed as a framework and I'm trying to bring to BB10.

    I have four static libraries, have references to others.

    I create a project test using the four libraries and checked in the window references my four libraries (QNX IDE: project properties / general ad for C/C++ /Paths symbols / References).

    When I compile I have many ' reference "..." "undefined error. I know that I can change the order of the links, but it is not enough to solve some "circular" linking problems.

    I already had this problem when I compiled the framwork for Android, but in the makefile, I was able to link several times with the same library (example:)

    Project4.a
    Project1.a

    Project3.a
    Project1.a
    Project2.a
    )
    But I can't, or I don't know how I can do it in QNX IDE.

    No idea how I can do to link all my projects properly please?

    Thanks a lot for your help.

    You should put all your libraries to be used by the editor of links here:

    Build properties of the project-> C/C++/QCC Linker-> library-> library (-l)

  • problem compiling with MERGE statement

    What is the problem with this merge statement?

    When I compile I get the message
    met symbol IN when one of the following expected
    *:= . (@ %; < a SQL > *)

    MERGE INTO PF_REP_TEMP HAS
    WITH THE HELP OF PF_REP_SKS B
    WE (a. pf_userid = "FINP' AND B.pfbatch = 'F99' and B.pfstfno = A.pf_staffno
    and B.pfcc = "7" and B.pftransmy = A.mmyy and B.slno = A.s_no)
    When matched then
    game update
    a.pfwdrlm = b.pfwdrlm,
    a.PFRC = b.PFRC;

    Help, please

    (version of the form is 10g, 11g database version)

    How to perform a merge into forms button pressed trigger command

  • Problem compiling with Xcode plugin sample

    Hi all

    I'm having a problem of compiling a sample plugin in the SDK ("BasicPlugin") using Xcode on Mac OS. Xcode build error is "name"CursHandle"unknown type". The error occurs in two source files: AVExpT.h and SafeResources.h. I can't find any header provided with the Acrobat SDK kit that defines the type of CursHandle.

    I'm on Mac OS 10.8.4 and Xcode 4.6.3.

    The SDK documentation says that the SDK is only compatible with Xcode 2.x; elsewhere in the documentation it says that it was compatible with Xcode 3.2 and 3.3. What is the reason for the above error? It is not possible for me to install the old version of Xcode, because I'm running 10.8 OX, and older versions are not compatible.

    I would be very grateful for any help.

    Paul

    Yes, the software SDK still uses characteristic of carbon (even if Acrobat itself does not use anything carbon).   Therefore, you need an older version of Xcode that talks about carbon.

    Consider using a virtual machine from a certain flavor to run an earlier version of Mac OS and Xcode.

  • Code compiled with 4.5 is strange 9530 Simulator and device

    Hello

    I am writing an application that supports the level of OS 4.5.  When I run the Simulator for 9530 OS 4.7, it is acting funny.  In my application at initialization, I determine the width and the height of the elements of the display and layout accordingly.  However, when I have queries Display.getWidth () and Display.getHeight () the result returned is 320 x 240!

    I thought that this could be a problem with my installation of Simulator so I signed and tried on my Storm 9530 and I got the same results it.  If I compile with 4.7 that the problem goes away.

    I need to stick with 4.5 well.  Anyone seen anythign like that?

    Thanks in advance...

    I think what you are missing, it is that these other devices have a keyboard, where the 95xx didn't. Therefore, the operating system must provide an environment where the application will be usable, and it does this by providing a virtual keyboard, which consumes the rest of the screen.

    Have you tried to disable the compatibility mode? You can do this in the Options of the device (in Applications), and it can also be disabled in the JAD file for OTA download settings.

    Search the forum for "compatibility mode" and you'll find many, many discussions on this feature, but also the ways of working around him.

    Having said all this, my advice is to go there and have a version 4.7 for your application. If your application has any type of user interface at all, your users will be very happy with the compatibility mode on devices touch-sceen.

  • An Android compilation with pedestrian crossing is now defective

    Hello

    It seems that Android compilation with pedestrian crossing is now defective. I get the following when having error < plugin name = "cordova-plugin-concordance-webview" source = "MNP" / > my config.xml file:

    --------------------------------------------------------------------------------

    COMPILATION OUTPUT

    --------------------------------------------------------------------------------

    Build the option-"unrecognized (ignore).

    Running: / project/gradlew cdvBuildDebug b /project/build.gradle-Dorg.gradle.daemon=true - PcdvBuildMultipleApks = false

    null

    Embedded

    FAILED: Build failed with an exception.

    * Where:

    Script ' / project/cordova-plugin-crosswalk-webview/q_android-xwalk.gradle' line: 77

    * What went wrong:

    Is a problem evaluating the script.

    > Property not found 'xwalkMultipleApk' on the 'project' of the root project.

    * Try:

    Run with the option - stacktrace to get stack trace. Run with the option - info or - debug option to get out of the newspaper.

    It's a Blocker for me. Thank you in advance:-------.

    How about using

    
    

    ?

    It is a quite old version but should work (@PGB team: many of us need crosswalk - why is there no official upgrade?).

  • AppleScript compile with CS5 apps

    Still, something is terribly broken with CS5 AppleScript support.

    Here are the symptoms:

    I have a really long AppleScript script file, part of the Xcode project. It uses features both InDesign CS4 and CS5.

    For a few months did not have problems.

    Suddenly, after a reboot it will not compile.

    Stops with warnings like 'waiting for a property but found identifier' and highlights the word "presets" in "print settings predefined.

    or 'export' in 'PDF export presets.

    or 'interaction' in "set user interaction level.

    etc.

    What the...?

    InDesign CS5 is open.

    When I change to "tell InDesign CS4" everything compiles.

    But the problem is that some pieces of code SHOULD refer to InDesign CS5 because they include specific features CS5 as the JPEG export, etc. of the XFL.

    Now I had to comment all. I need to get an update for my clients - it is a very popular solution for InDesign - and I'm just stuck.

    I also had a similar problem before with Photoshop CS5 and a long script in the Script Editor. Suddenly, a few words replaced by 'class xxxx' - even if Photoshop CS5 is open - and the only solution was to change all the blocks "tell application" to CS4. But I had all the specific features of CS5 it.

    No idea of what is happening and how to fix it?

    Thanks for any help,

    Leo

    Mac OS X 10.5.8, 2x2.66 GHz Dual-Core MacPro, 7 GB of RAM

    Restart your Mac, start InDesign CS5 (only), and then open the script again. And divide your script upward in small scripts.

  • I have problems to make my battery charged, because the cable does not have a link solid with the socket of the phone.  The problem seems compatible with a lot of cables, so I think the problem is with the phone. Can it be fixed?

    I have problems to make my battery charged, because the cable does not have a link solid with the socket of the phone.  The problem seems compatible with a lot of cables, so I think the problem is with the phone. Can it be fixed?

    Probably there is debris and dust in the decision-making of the lightning.  Serve with compressed gas canned (NEVER orally).  If this doesn't help, try electronic contact cleaner has a q - Tip.  Finally, take it to Apple.

  • Problem starting with Satellite A210-183

    Hi to you all.

    My name is Costis and I have a starting problem with my laptop. The laptop runs Vista and it was bought in November 2007.

    I have the following message:

    "Windows has encountered a problem communicating with a device attached to the computer.
    This error can be caused by unplugging a removable storage device, such as a hard drive or a cd-rom drive which is a failure.
    Make sure that all removable storage is properly connected, and then restart your computer.
    Status: 0x00000e9
    Info: An unexpected i/o error has occurred. "

    Can you help me how to do?

    Thanks in advance,
    COSTIS

    Hello

    What devices are connected to the machine? Some external HDD´s or DVD readers? Would be interesting to know because this error is caused mainly by external media/devices that are not properly connected to the laptop or a malfunction.

    I recommend to unplug everything from your machine and check if the error reappears. So I would suggest to backup all of your important data and retrieve the machine completely (maybe it s a related problem of the software).

    If that's not enough then come back and talk to us more this question.

    Welcome them

  • HP Pavilion Notebook-15-p108tx: problem connecting with specific programs

    Hi, I had problems connecting with specific programs recently. I'm still able to communicate online through web browsers. Mozilla Firefox works fine, but Google Chrome still has some problems loading of specific pages or they don't load at all. The main programs I am having difficulties with are mainly games platform programs like Steam, Battle.net, and League of Legends, and I'm unable to go online or to connect to their servers.

    I never had no problem connecting like these last two years that I've owned my laptop, until recently. I think it was the 6th or 7th of may these problems started.

    I updated my drivers and was constantly check to download the most recent. I don't know if it's my internet provider, but I was also constantly check the State of the network to ensure that the services are very good.

    If anyone else has this problem and if there are any suggestions that you think could help solve this problem, it would be appreciated.

    Thank you

    Jasper

    Hi Jasper,.

    Thank you for the update. I think that your computer have a rootkit infection. Most of them were inside of the Chrome Extensions.

    Here's what you need to do.

    Open chrome

    Click on the Menu bar in the upper right

    Click more tools

    Click Extensions

    Please search for suspicious extensions that does not belong to the computer, especially ads. Once you identified, simply click the trash can icon then Chrome close then reopen it again to see if you can connect to your desired game. If this isn't the case, then proceed as follows.

    Manual removal of suspicious files (if you are uncomfortable with it. If this is not the case, then run System Restore from safe mode with command prompt)

    Manual removal (I miss the old days of MS virus removal )

    Go to RUN type %temp% , and then delete all folders by pressing SHIFT + DELETE

    Go to Control Panel and then locate all the apps that you think a form of ads

    Go to safe mode with network. Run Malwarebytes in that State

    Then run Tweaking tool to fix everything that has changed since your computer

    http://www.Tweaking.com/files/setups/Tweaking.com_windows_repair_aio_setup.exe

    If your not comfortable with the troubleshooting steps may perform the system restore on the day, it was working fine.

  • Many people have a problem closing with El Capitan? Apple plan to fix this?

    Many people have a problem closing with El Capitan? Apple plan to fix this?

    You must describe your shutdown problem otherwise, we can only guess what you're talking about.

  • Problem-solving with HP2311x and ProBook6455b

    Hello

    I have a problem-solving with portable HP2311x and ProBook6455b.

    Maximum resolution is 1600 X 1200

    Current display driver is ATI Mobility Radeon HD 4200

    However, my HP monitor supports the 1920 X 1080.

    I used only the external monitor without using the laptop monitor and the maximum resolution is always to 1600 x 1200.

    I also downloaded the drivers recommended by HP, but it does not solve the issue.

    I also tried with the drivers provided by AMD, but I get still more low resolution (1280 x 768) because the driver software detects is ATI Mobility Radeon HD 4250

    When I try to use the AMD Vision Engine Control Center stops unexpectedly

    I have conteacted
    Portrait Displays, Inc..
    http://support.portrait.com

    But they suggested me to contact HP because they were not able to solve my problem.

    Any help will be appreciated.

    Kind regards.

    I understand that you are not able to use the full resolution of the monitor even when the screen of the laptop is out of the question.

    Ensure that the system has the right driver for the monitor found here.

    You can try the support business forums as it appears that the two components are business models.

  • problem scanning with keithley 2420

    Hello

    I'm having some trouble to configure the Keithley 2420 to sweep a range of Volt and measure the amps in a cell.

    The vi attached check the polarity of the voltage, then measure the short circuit current and then performs a scan.

    The program runs, but scanning seems to measure resistance and outdated.

    Any help would be greatly appreciated!

    Incase anyone reads this, the problem was with the drivers Keithley 2400 do not turn off simultaneous measurement mode when you set up the type of measure. Even if I set the type of measure amps, he was still measuring ohms.

    I still don't know why it uses default ohms.

    Anyway, I solved this problem by using the ENS:FUNC:CONC OFF command with the Instrument i/o assistant after having used the driver concerned of Keithley VI to set all other settings.

  • for windows update make me number error msg: 0 x 80240036 and solve this problem poblem with fixit get msg w xp sp3 rendered and nework Framework 2 or lator should be installed pls can help you

    for windows update make me number error msg: 0 x 80240036 and solve this problem poblem with fixit get msg w xp sp3 rendered and nework Framework 2 or lator should be installed pls can help you

    See your other thread the same. http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-windows_update/to-make-Windows-Update-am-getting-MSG-error-number/3f579859-ecb0-408D-9db3-804044a21fb7

  • Go off & on several times before the monitor turns on. Comp seems to start OK but the problem is with the screen.

    Original title: XP start help please...

    ... are to be turned off & on several times before monitor lights. Comp seems to start OK but the problem is with the screen. Do I have to make a boot disk & if so - HOW?

    Hello

    ·         What is the brand and model of the computer?

    ·         You get the error message?

    ·         Did you check the connection of the cable to the monitor?

    ·         Have you tried to update to the latest graphics card and motherboard chipset drivers?

    First, try to connect your monitor to a well known PC, maybe the old laptop that you use now. If the monitor works, the problem is with the video card in your PC. If the monitor does not light, the monitor. It is usually cheaper to buy a new monitor that in order to be an old repaired, unless the monitor is still under warranty.

    Try connecting a monitor well known to your PC. If the monitor works, your old monitor is fried and needs to be replaced.

    If your monitor works when connected to another PC, the problem could be your video card. First, and then you turn on your PC, the power and cooling case fans run they. If they do not, it could be the power supply.

    Then, open the computer case. Before you do anything inside, unplug the power supply.

    IMPORTANT! Touch any metal part of the computer case to connect to the PC. A single static spark can destroy computer circuits.

    If the video card is the type of card that plugs into a slot on the motherboard, remove the screws or attached at the top of the card, remove the card, to manipulate the card by the edges to avoid disturbing the circuits on the card, carefully and re - install the card. Sometimes simply reinstalling the card corrects the problem.

    If this does not work, replace the video card with a card of similar type. Perhaps now is the right time for an update of video card.

    If the video card is integrated into the motherboard, you can install a new card in one of the PCI slots on the motherboard. When the PC starts for the first time, go into the bios and disable the onboard video.

    Resources for troubleshooting problems in Windows XP

    http://support.Microsoft.com/kb/307960

Maybe you are looking for

  • AppleScript set the string to date and add 30 minutes

    I am filling 2 boxes of time on a website in Safari, using Applescript from buttons selected by the user. My current Applescript is: Value dialog box to display the dialog box buttons ' when did your first departure case? {"07:30, ' 08:00, ' 08:30" "

  • New version of Firefox can not be added to the application folder. Msg said that I did not have a sufficient privedges to do

    I downloaded the new version of Firefox. He mounted very well. When I tried to drag the icon to my application portfolio, he asked me if I wanted to replace the old version. I said 'yes' and a message popped up of "the operation cannot be completed b

  • Very slow SP6100

    From my 6100 Pro Satellite takes forever and changing programs going very slowly. Green focused on the HARD disk at the front is not lighting. It could mean the HD not working anymore? I tried to find some utilities to test on the net, but without su

  • How to calibrate the compass of backflip

    I'm not sure what the telephone tells me to do when he says "turn the phone in a movement of eight in all possible axes." could someone help me with this

  • OfficeJet 6500 E710n Activation error analysis

    When I try to activate the scan on my computer, it is said that there is an error. I restart the computer, as suggested, but it still does not work. It prints normally, but the scanner does not work all of a sudden. I tried to update the IP address a