NO

Author Topic: import vcproj  (Read 4593 times)

blens

  • Guest
import vcproj
« 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?

Offline Stefan Pendl

  • Global Moderator
  • Member
  • *****
  • Posts: 582
    • Homepage
Re: import vcproj
« Reply #1 on: July 26, 2015, 08:09:39 PM »
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

  • Guest
Re: import vcproj
« Reply #2 on: July 26, 2015, 09:54:17 PM »
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'.
...
« Last Edit: July 26, 2015, 09:56:02 PM by blens »

Offline jj2007

  • Member
  • *
  • Posts: 536
Re: import vcproj
« Reply #3 on: July 27, 2015, 06:54:44 AM »
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.

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: import vcproj
« Reply #4 on: July 27, 2015, 10:49:21 AM »
Maybe that is c++ header file ?
May the source be with you

blens

  • Guest
Re: import vcproj
« Reply #5 on: July 27, 2015, 04:17:32 PM »
#ifndef ALFA_H_
#define ALFA_H_


class CAlfa
{

Offline Stefan Pendl

  • Global Moderator
  • Member
  • *****
  • Posts: 582
    • Homepage
Re: import vcproj
« Reply #6 on: July 27, 2015, 11:27:36 PM »
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