Pelles C forum
Pelles C => General discussions => Topic started by: blens on July 24, 2015, 09:47:47 PM
-
I have a vcproj visual studio 2008 project.
Do it is possible to import it in pellesc?
-
Pelles C ships with a wizard to import MSVC projects.
File => New => Project => Import MSVC Project
-
I have imported it and I have setted "Enable Microsoft extensions" in Project options -> compiler.
But now i get more error in header.h file:
c:\aaa\aaa.h(17): warning #2099: Missing type specifier; assuming 'int'.
c:\aaa\aaa.h(17): error #2001: Syntax error: expected ';' but found 'CGammaRamp'.
c:\aaa\aaa.h(17): warning #2099: Missing type specifier; assuming 'int'.
c:\aaa\aaa.h(18): error #2001: Syntax error: expected ';' but found '{'.
c:\aaa\aaa.h(19): warning #2099: Missing type specifier; assuming 'int'.
c:\aaa\aaa.h(19): error #2001: Syntax error: expected ';' but found ':'.
c:\aaa\aaa.h(27): warning #2099: Missing type specifier; assuming 'int'.
...
-
There is no aaa.h with the original Pelles C package. It would be most helpful if you posted lines 17 & 18 of that file here.
-
Maybe that is c++ header file ?
-
#ifndef ALFA_H_
#define ALFA_H_
class CAlfa
{
-
C++ is not ANSI C!
Pelles C only supports plain ANSI C, C++ is not supported, since it is a totally different language.