------- Comment #1 from dvander at alliedmods dot net 2009-11-19 01:44 ------- Created an attachment (id=19039) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19039&action=view) reduced test case
This program doesn't link, though it should. keima:src dvander$ g++ test.cpp -o test test.cpp: In function int main(): test.cpp:28: warning: format %d expects type int, but argument 2 has type size_t Undefined symbols: "X::LENGTH_MASK", referenced from: X::dependentLength() const in ccdhJ0JB.o "X::DEPENDENT_LENGTH_MASK", referenced from: X::dependentLength() const in ccdhJ0JB.o ld: symbol(s) not found collect2: ld returned 1 exit status -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42101