User forums > Nightly builds

The 16 august 2006 build is out.

<< < (2/9) > >>

Tactive:
What do I have to do to use PCH file in my projects? I looked at the project properties and selected to generate the PCH file alongside original header files (default) but when I compile my project there won't be generated any file??

marstell:
A little bug: it seems that selecting the build target in the combobox or even in the menu, always the upper item is selected, not the one I've really selected...
Example:

if I have in this order:

- Build Target #1
- Build Target #2
- Build Target #3

if I select "Build Target #2", the "Build Target #1" is executed, and if I select "Build Target #3", the "Build Target #2" is executed.

It must be a very little mistake in some index, in one of the latest revisions.

Bye,

Marco Stella

Tactive:
I also reckognized this bug. In my projects I've three build targets (All / Debug / Release) but it doesn't compiles
what I selected (in the target selector in the toolbar). Sometimes it works correct but mostly it compiles other
targets.

It also effects the run option. I selected the debug target and he starts with the release version.....

Very confusing.....

Tactive:
After installing the nightly build I got several issues with my project header files. I've a header file called prerequisites.h which is beeing included
by each other header file. In each of my header files I use the new #pragma once statement instead of the old #ifndef/#define preprocessor
statements. Unfortunately I got an compiler error (segmentation) fault now in this header file and after changing it to the #ifndef/#define
statement it compiled fine.

So I would like to know if there's a workaround or if support for the (new) #pragma once statement ist beeing planned??

Kreso:

--- Quote from: killerbot on August 16, 2006, 09:43:07 pm ---
--- Quote from: cstudent on August 16, 2006, 09:36:12 pm ---What should be the correct member name?

compilergcc.cpp: In member function 'void CompilerGCC::OnSelectTarget(wxCommandE vent&)':
compilergcc.cpp:2754: error: 'class wxComboBox' has no member named 'GetCurrentSelection'



thanks,
cstudent

--- End quote ---

probably GetSelection will be sufficient, since we need it as index, not as string

EDIT : platform independent my ... , on windows this builds, thanks wx

EDIT2 : in case of a choice it would have been ok (wxChoice::GetCurrentSelection)

EDIT 3 : on windows : wxComboBox derives from wxChoice (dunno for linux and others, should boot in linux for that) and on windows wxChoice has :
#if wxABI_VERSION >= 20602
    virtual int GetCurrentSelection() const;
#endif

EDIT 4 : on wxgtk (linux) : wx Choice also has :
#if wxABI_VERSION >= 20602
    virtual int GetCurrentSelection() const;
#endif

BUT wxComboBox is not derived from wxCoice BUT THEN AGAIN : wxComboBox has :
#if wxABI_VERSION >= 20602
    int GetCurrentSelection() const;
#endif

So I would say your are not wxABI_VERSION >= 20602 ...

--- End quote ---


yup, won't compile on my Linux box as well. any clues?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version