Compiler Error?!?!?!?!

This is a discussion on Compiler Error?!?!?!?! within the C++ Programming forums, part of the General Programming Boards category; i get these errors when using playsound() in Dev C++ Code: C:/MINGW/INCLUDE/C__~1/3.2/bits/stl_threads.h:158: '__gthread_mutex_t' is used as a type, but is ...

  1. #1
    Linux Forever
    Join Date
    Oct 2002
    Posts
    373

    Compiler Error?!?!?!?!

    i get these errors when using playsound() in Dev C++
    Code:
    C:/MINGW/INCLUDE/C__~1/3.2/bits/stl_threads.h:158: '__gthread_mutex_t' is used 
       as a type, but is not defined as a type.
    C:/MINGW/INCLUDE/C__~1/3.2/bits/stl_threads.h: In member function `void 
       std::_STL_mutex_lock::_M_acquire_lock()':
    C:/MINGW/INCLUDE/C__~1/3.2/bits/stl_threads.h:192: `_M_lock' undeclared (first 
       use this function)
    In file included from C:/MINGW/INCLUDE/C__~1/3.2/memory:55,
                     from C:/MINGW/INCLUDE/C__~1/3.2/string:48,
                     from C:/MINGW/INCLUDE/C__~1/3.2/bits/localefwd.h:49,
                     from C:/MINGW/INCLUDE/C__~1/3.2/ios:48,
                     from C:/MINGW/INCLUDE/C__~1/3.2/ostream:45,
                     from C:/MINGW/INCLUDE/C__~1/3.2/iostream:45,
                     from d:/bdincw~1/bdwave~1.cpp:2:
    C:/MINGW/INCLUDE/C__~1/3.2/bits/stl_alloc.h: At global scope:
    C:/MINGW/INCLUDE/C__~1/3.2/bits/stl_alloc.h:575: syntax error before `;' token
    C:/MINGW/INCLUDE/C__~1/3.2/bits/stl_alloc.h:575: confused by earlier errors, bailing out
    my coding is included.
    Attached Files Attached Files
    This war, like the next war, is a war to end war.

  2. #2
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    Modified it a bit, Try this one.
    Attached Files Attached Files

  3. #3
    Linux Forever
    Join Date
    Oct 2002
    Posts
    373
    Same thing
    This war, like the next war, is a war to end war.

  4. #4
    |<o>| <--cyclopse LouDu's Avatar
    Join Date
    Mar 2003
    Posts
    137
    dav c++ is a POS jsut downlaod borland trial
    Languages <> C++, HTML

    /*The Ledgend of Ludlow Coming to a PC Near
    You intro Cinenmatic Needed email me of
    Reply to one of my threads if you can make
    one, thats decent. */

  5. #5
    Linux Forever
    Join Date
    Oct 2002
    Posts
    373
    could you give me the link. I don't want to have to pay for anything just to download borland like there website says. I was also thinking that i need a newer version of the gnu compiler.
    This war, like the next war, is a war to end war.

  6. #6
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640

  7. #7
    Linux Forever
    Join Date
    Oct 2002
    Posts
    373
    it wont download!
    This war, like the next war, is a war to end war.

  8. #8
    Linux Forever
    Join Date
    Oct 2002
    Posts
    373
    not seeing anything like that.
    This war, like the next war, is a war to end war.

  9. #9
    Linux Forever
    Join Date
    Oct 2002
    Posts
    373
    your right. I have 4.0
    This war, like the next war, is a war to end war.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do you resolve this error?
    By -EquinoX- in forum C Programming
    Replies: 32
    Last Post: 11-05-2008, 04:35 PM
  2. Making C DLL using MSVC++ 2005
    By chico1st in forum C Programming
    Replies: 26
    Last Post: 05-28-2008, 02:17 PM
  3. error: template with C linkage
    By michaels-r in forum C++ Programming
    Replies: 3
    Last Post: 05-17-2006, 09:11 AM
  4. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  5. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21