ok thanks for help
odd that dev-cpp didn't give any warnings at all...