python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
{$WARN DUPLICATE_CTOR_DTOR OFF} gets deleted from Dpk file
I need to turn off this compiler warning because I don't intend to make my library compatible with C++.
If I put the compiler directive in the PAS file that generates the warning, it is ignored.
Peopl...
Gabriel
Votes: 0
Answers: 2
Passing the tuple by reference into lambda causes null pointer dereference warning
I have the following piece of code:
boost::circular_buffer<std::tuple<float, float, float>> foo;
foo.push_front(std::make_tuple(3.1f, 1.5f, 1.2f));
foo.push_front(std::make_tuple(3.6f, 1.1...
Hidayat Rzayev
Votes: 0
Answers: 0
Why there is unused-but-set variable-warning with pointers
I have the following code:
#include <iostream>
class Test
{
public:
Test(int i)
{
initialize(i);
}
void initialize(int i)
{
std::cout<<"...
trycity
Votes: 0
Answers: 1
Why no warning when dynamic abstract is used?
I have:
unit AnimalClasses;
interface
type
TAnimal = class
public
function GetName: string; virtual; abstract;
end;
type
TCat = class(TAnimal)
end;
function AnimalFactory(const ANumb...
Edijs Kolesnikovičs
Votes: 0
Answers: 0