Try the following easy program in Project Builder
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">#include <deque>
int main (int argc, const char * argv[]) {
deque<int> myDeque1, myDeque2;
myDeque1.push_back(5);
myDeque2 = myDeque1;
return 0;
}</pre><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">This gives a warning that a signed value is being compared with an unsigned. Changing the templatized type of the deque to signed int or unsigned int doesn't make any difference. The warning is produced by the line that assigns myDeque1 to myDeque2.
This isn't a huge deal, but I like to write my code so that it produces no warnings, so this is driving me nuts.
Anyone got any clues on how to fix this without editing the STL headers?