This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Something seems to be up with tar as well, unless you meant for all those files to have no perms when unpacked?
$ tar xvf cpp-program.tar AVL_Tree.h AVL_Tree.cc avl_tree-test.cc Makefile
$ ls -lart total 105 ---------- 1 DKAdmin None 299 Sep 13 2007 Makefile ---------- 1 DKAdmin None 1584 Sep 13 2007 AVL_Tree.h ---------- 1 DKAdmin None 13774 Sep 13 2007 AVL_Tree.cc ---------- 1 DKAdmin None 5616 Apr 23 21:31 avl_tree-test.cc drwxrwxrwt 1 DKAdmin None 73728 Apr 24 20:06 .. drwxr-xr-x 1 DKAdmin None 4096 Apr 24 20:06 .
$ make g++ -Wall -Wextra -std=c++98 -pedantic -g -c avl_tree-test.cc AVL_Tree.cc: In static member function 'static void AVL_Tree_Node<Comparable>::insert(const Comparable&, AVL_Tree_Node<Comparable>*&) [with Comparable = int]': AVL_Tree.cc:481: instantiated from 'void AVL_Tree<Comparable>::insert(const Comparable&) [with Comparable = int]' avl_tree-test.cc:20: instantiated from here AVL_Tree.cc:194: warning: null argument where non-null required (argument 1) g++ avl_tree-test.o -o testavl.exe
Program exited with code 030000000005.
That's octal for 0xC0000005 aka STATUS_ACCESS_VIOLATION. Does adding "-Wl,--enable-auto-import" to LDFLAGS help any?
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |