Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 304045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:14:39+00:00 2026-05-12T07:14:39+00:00

I am trying to build a Visual C++ 2008 DLL using SDL_Mixer 1.2: http://www.libsdl.org/projects/SDL_mixer/

  • 0

I am trying to build a Visual C++ 2008 DLL using SDL_Mixer 1.2:

http://www.libsdl.org/projects/SDL_mixer/

This is supposedly from a build made for Visual C++, but when I include SDL_mixer.h I get error C2143: “syntax error : missing ‘;’ before ‘[‘“.

The problem line is:

const char[] MIX_EFFECTSMAXSPEED = “MIX_EFFECTSMAXSPEED”;

Is this because of the use of the dynamic array construct “char[]”, instead of “char*”?

All the expressions in the file are wrapped by “extern "C" {“.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T07:14:39+00:00Added an answer on May 12, 2026 at 7:14 am

    My bad. Although the answers here are correct regarding C construct, the actual problem was that I had included a “D” language file instead of the C version.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to build the Intellesoft BugTrap source using Visual Studio 2008. I
I'm trying to build an example of boost::asio http://www.boost.org/doc/libs/1_43_0/doc/html/boost_asio/example/echo/async_tcp_echo_server.cpp but without any luck. System:
I'm using Visual Studio 2008 to build a Solution with two Projects: a C#
I was trying to build a C# solution on my Visual Studio 2008, that
Anyone ever had this error when trying to build a solution in Visual Studio
I've developed a 64 bit dll using C++ and Visual Studio 2008 and i'm
I'm trying to build a macro for Visual Studio 2008 that behaves thusly: (Extract
I am trying to build the openCV libraries with visual c++ 2008 express edition.
I'm using Visual Studio 2008 and I'm trying to get a project that I
I'm trying to build one of my CMake-based projects from a couple of years

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.