@meet I was really puzzled by the mail. Are you studying for an exam or something? The questions seemed so random.
user562566
if you're using mingw 64 you should explicitly define your target to both the compiler and linker phase as well as the standard library you're linking against. -m32/-m64 -lstdc++/-lstdc++11/-lgnu++11 (not sure what the gnu extensions one is named)
@milleniumbug Also an EH implementation internal function.
user562566
@milleniumbug right but still, the errors you're getting are clearly that you have no implementation for the things you're #including, and since they're standard things, it's missing a link against the standard library somewhere somehow
the base MinGW4.6.3's Standard headers do not all work out of the box with Clang- some of them require some fairly trivial syntactic modifications to work around a bug in Clang's parser
it's nothing you should not be able to handle easily but I just though I'd mention it ahead of hand
Synthetic setae emulate the setae found on the toes of a gecko and scientific research in this area is driven towards the development of dry adhesives. Geckos have no difficulty mastering vertical walls and are apparently capable of adhering themselves to just about any surface. The 5-toed feet of a gecko are covered with elastic hairs called setae and the end of these hairs are split into nanoscale structures called spatulae (because of their resemblance to actual spatulas). The sheer abundance and proximity to the surface of these spatulae make it sufficient for van der Waals forces alone to...
@Prismatic uhh? what if you need to parameterize the type you're taking as a template argument...? - have you ever pattern-matched deeper into the structure? (as in, don't just pattern-match on the outer-most constructor - if so, you understand template templates)
I'm trying to make my library exportable as a DLL but I'm getting a lot of these warnings for one specific class that uses std::vector:
template <typename T>
class AGUI_CORE_DECLSPEC AguiEvent {
typedef void (*AguiCallbackFptr)(T arg, AguiWidget* sender);
std::vector<AguiCallbackFptr> events...
@ScarletAmaranth There was sort of an A, if you count Algol. The order was: Algol, CPL, BCPL, B, C, C++, D (and, of course, many others). That said, although CPL was clearly influenced by Algol, that relationship probably isn't quite as close as these others.
@ScarletAmaranth Sort true--but the descent from CPL to BCPL to B to C to C++ is very direct. From Simula to C++ is more that he'd used Simula, and wanted to provide/support at least some of the same basic ideas.
> My experience is that exporting STL classes from DLLs on Windows is fraught with pain, generally I try to design the interface such that this is not needed.
Exalted is He who took His Servant by night from al-Masjid al-Haram to al-Masjid al- Aqsa, whose surroundings We have blessed, to show him of Our signs. Indeed, He is the Hearing, the Seeing. (17:1)
user1804599
Allah never said that.
user1804599
This must be a misattributed quote.
user1804599
19:40
lol
user1804599
> I also believe that it does NOT condemn homosexuals to hell (a sin is a sin is a sin). When a person receives Christ in them they are saved and ALL their sins are forgiven.
@wilx I thought about that, but a lot of the times, it's a legit warning. For example, debug and release builds have different STL layouts which crash if I try to link against a release .dll from a debug binary.
So, i was thinking, there are hdd caddies which can replace the dvd drive in laptops with hdd's, are there soms caddys which add an ethernet port or even act as a switch?
@fredoverflow It still has some form of checked exceptions at runtime. I'm talking about Java's compile time checked exceptions (at least a good subset of all of them).
@Jefffrey What? No, it doesn't. If you defined void foo() throw (X), and at runtime, anything other than X was thrown, the program was aborted. That feature is gone.
For a number of years now I have been unable to get a decent answer to the following question: why are some developers so against checked exceptions? I have had numerous conversations, read things on blogs, read what Bruce Eckel had to say (the first person I saw speak out against them).
I am...
Just as I can see in cppreference, the classic "throw" declaration lists is now deprecated in C++11. What is the reason of leaving this mechanism and how should I have to specify what exceptions throws a function of mine?
> In general (from how Java was designed), Error is for things that should never be caught (VM has a peanut allergy and someone dropped a jar of peanuts on it)
Here is, in a nutshell, why I don't like the way Java implements checked exceptions: If a calls b and b calls c and c can throw an exception X and a can handle it, b has to know about X.