Merge pull request #12 from cjxgm/dev

some fix
@ update configure

+ -Wextra flag
- $test
@ fix all warnings