I tried to compile the code below with Clang
class Prasoon{
static const int dummy = 0;
};
int const Prasoon::dummy = 0;
int main(){}
The above code did not give any error when compiled with Clang.
prasoon@prasoon-desktop ~ $ clang++ --version
clang version 2.8 (trunk 107611)
Target: i386-pc-linux-gnu
Thread model: posix
prasoo...
I have a treeview with a CellRendererCombo in a given column. I use the following code to set up the column:
crc = gtk.CellRendererCombo()
crc.set_property('model', comboModel)
crc.set_property('text-column', 0)
crc.set_property('editable', True)
crc.set_property('has_entry', False)
cl = gtk.TreeViewColumn(ctitle, crc, text=i)
def chan...
Hello
I'm use lxml to parsing big table and now have trouble:
>>> winvps[0].getnext().xpath("descendant::*")
118: [<Element td at 3a30180>,
<Element a at 3a301b0>,
<Element font at 3a301e0>,
<Element b at 3a30210>,
<Element td at 3a30240>,
<Element td at 3a30270>,
<Element font at 3a302a0>,
<Element td at 3a302d0>,
<Element td ...
I have an image that is wrapped inside a couple of DIV elements
<div id="wrapper">
...
<img src="myphoto.png" height="400px" width="500px>
</div>
I use jQuery, to access the height or width I either use
jQuery(img).attr('height');
or
jQuery(img)[0].height;
Unluckily, when the wrapping DIV 'display' property change, these values ...
I have a span with several other spans inside it, and I want to toggle the sub-spans between display:block and display:inline. The spans start off with display:inline-block, then are switched to display:block. This works fine. The problem is when toggling back in Webkit (it works fine in Firefox): the spans are rendered with extra line b...
I tried the following code:
int main()
{
int x {23.22};
}
which includes an initialization that requires narrowing, but the code compiles fine without any error or warning. On the other hand, the following code gives error:
int main()
{
int x[]{23.22};
}
Have I found a bug or what?
PS: I'm currently using GCC 4.5.0
...
I find that when I make a call to setCenterCoordinate and have animated:YES, then if my MKMapView is removed/released while that animation is underway, I lose all ability to receive UI events (i.e. touch events) anywhere at all so I am effectively locked out from interacting with my app.
I'm not sure why this would happen versus some ot...
Hi,
I’ve come across a problem with Windows list controls (I am specifically using MFC, but it looks like it applies to all list controls in the Windows common controls library).
In my specific case, I want to create a list control that has two or more columns. The first column (0) is text-only and is used to allow the user to jump to ...
I have two dimensions sorting bug in IE8 and below.
IE just doesn't know to handle this thing.
As you can see, there are two levels of sorting items. Two dimensions.
In all of the browsers this thing works perfect. Only IE get crazy.
My code
$("#experienciasProfissionais").sortable({
placeholder: 'ui-state-highlight',
cur...
Hi,
I'm using javascript_catalog view to have multilanguage support into my Javascript code. But because of this bug: http://code.djangoproject.com/ticket/5494 I couldn't make it. Basically, Django doesn't support this feature for project's locale folder, it only supports for application folders.
So I need to have a locale folder for e...
When the specification and the agreed behavior of the application operates without fault, however the outcome turns out to be undesired, what should this be called? Is it a bug?
How can it be a bug when the software performs as desired from the specifications and the agreed behavior?
...
Hi
At this site: http://www.multiway.dk/
The dropdown menu is displaying behind the header image, which i dont quite understand as the menu has z-index: 100; and the image has z-index:1;
It works fine in FF, but in IE it doens't work??
...
My iframe code is
<iframe src=”http://google.com” width=”400″ height=”600″></iframe>
But instead of showing google it show my own website!
You can take a look at http://tetards.ch/node/112
...
Yesterday in my office,I was using wireless and winpcap just fails.
And today it's OK again(not wireless this time).
Anyone knows the reason?
...
A recent blunder was made where the Bug Tracker .NET software was removed from our server;
now we don't have a backup of the installer that was used, only the database. Is there a way to determine the version of Bug Tracker .NET supported by the database backup just based on the schema alone? without manually sifting through the differe...
We have an old Flash application that has worked fine for years, but intermittently fails on latest versions of Firefox. Using the same version of the Flash Player, the application runs fine in Internet Explorer. Recompiling the product is risky, and I'm trying to fully understand the problem before resorting to that. I'd like to be abl...
class Parent < ActiveRecord::Base
end
class Sub < Parent
end
class SubSub < Sub
end
>> SubSub.create :name => 'name1'
>> SubSub.create :name => 'name2'
>> SubSub.create :name => 'name3'
Then
>> SubSub.all.map{|x| x.name} # => ['name1', 'name2', 'name3']
>> Sub.all.map {|x| x.name} # => [] # I was expected that it ...
Hi,
I created this awesome iPad game - clean and fun to play, and people that manage to play it more than once love it.
In some cases, however, it will not launch for the second time.
I can't debug it since it works perfect on my iPad, simulator and on all my friend's iPads.
One customer told me that it works on 32GB but not on 64GB iPa...
Hi,
I posted a query for 301-redirect using ASP.NET 3.5 here:
http://stackoverflow.com/questions/3609763/redirecting-default-aspx-to-root-virtual-directory
Based on the replies I got there, I realized there might be a bug in ASP.NET's Request.RawUrl method which is unable to return the actual raw url (without /default.aspx) when being...
I'm a newbie Android developer and I'm also in the market for a new phone, so I spent all last week doing side-by-side comparisons between various Verizon 'droids with my wife's iPhone. We found a lot of problems. One problem was on 2 different manufacturers' phones running 2.2, but it does NOT occur on my Android emulator in Eclipse r...