News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

import vcproj

Started by blens, July 24, 2015, 09:47:47 PM

Previous topic - Next topic

blens

I have a vcproj visual studio 2008 project.
Do it is possible to import it in pellesc?

Stefan Pendl

Pelles C ships with a wizard to import MSVC projects.

File => New => Project => Import MSVC Project
---
Stefan

Proud member of the UltraDefrag Development Team

blens

#2
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'.
...

jj2007

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.

TimoVJL

Maybe that is c++ header file ?
May the source be with you

blens

#ifndef ALFA_H_
#define ALFA_H_


class CAlfa
{

Stefan Pendl

C++ is not ANSI C!

Pelles C only supports plain ANSI C, C++ is not supported, since it is a totally different language.
---
Stefan

Proud member of the UltraDefrag Development Team