Giter Club home page Giter Club logo

clangvsx's Introduction

    .       .x+=:.                                            .    
   @88>    z`    ^%    .uef^"                                @88>  
   %8P        .   <k :d88E                      u.    u.     %8P   
    .       .@8Ned8" `888E             u      x@88k u@88c.    .    
  .@88u   .@^%8888"   888E .z8k     us888u.  ^"8888""8888"  .@88u  
 ''888E` x88:  `)8b.  888E~?888L .@88 "8888"   8888  888R  ''888E` 
   888E  8888N=*8888  888E  888E 9888  9888    8888  888R    888E  
   888E   %8"    R88  888E  888E 9888  9888    8888  888R    888E  
   888E    @8Wou 9%   888E  888E 9888  9888    8888  888R    888E  
   888&  .888888P`    888E  888E 9888  9888   "*88*" 8888"   888&  
   R888" `   ^"F     m888N= 888> "888*""888"    ""   'Y"     R888" 
    ""                `Y"   888   ^Y"   ^Y'                   ""   
                           J88"                                    
                           @%     misguidedly releasing things
                         :"           since 1996 or thereabouts

                            presents
          ░▒▓       G I T H U B  P R O F I L E       ▓▒░

     ╔══════════════════════════╤═══════════════════════════╗
     ║ Supplier : XTR4CY BANG   │ Release Date : 090123     ║
     ╟──────────────────────────┼───────────────────────────╢
     ║ Cracker  : HorseCarnvial │ Protection : CD Check     ║
     ╟──────────────────────────┼───────────────────────────╢
     ║ Packager : Oblong Terry  │ Pragmatic Generalism DLC  ║
     ╟──────────────────────────┼───────────────────────────╢
     ║ Languages : C++, C#, Go  │ Game Developer etc.       ║
     ╚══════════════════════════╧═══════════════════════════╝

clangvsx's People

Contributors

dwbuiten avatar gsvgit avatar ikonnikovaev avatar ilibis avatar ishani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

clangvsx's Issues

support for libs/dlls

Currently it simply refuses to compile anything other than console apps.
Would be great if it could at least compile the files for now, so you get diagnostics.

Some observations

Hi there!

Thanks for this fancy piece of work! I patched clang as you suggested.

I've discovered some issues:
1)ClangVSx - For Testing.AddIn included into the solution points to C:\Users\Harry\Documents\Visual Studio 2010\Addins\ClangVSx - For Testing.AddIn but is not added

2)Messages on every compilation
clang: warning: argument unused during compilation: '-fdelayed-template-parsing'
clang: warning: argument unused during compilation: '-fdiagnostics-format=msvc'

3)With "-v" option, clang writes that
ignoring duplicate directory "C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/include"
ignoring duplicate directory "c:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/include"
ignoring duplicate directory "c:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/atlmfc/include"
ignoring duplicate directory "C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/include"
ignoring duplicate directory "C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/include"
ignoring duplicate directory "c:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/include"
ignoring duplicate directory "C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/include"

4)Well... it does not work for me at all :) Here is the log
Compiling :

  • ClangTest.c
    clang: warning: argument unused during compilation: '-fdelayed-template-parsing'
    clang: warning: argument unused during compilation: '-fcxx-exceptions'
    clang: warning: argument unused during compilation: '-fdiagnostics-format=msvc'
    Stack dump:
    1. Program arguments: C:/Development/llvm-2.9/build/bin/Release/clang.exe -cc1 -triple x86_64-pc-win32 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name ClangTest.c -pic-level 1 -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -momit-leaf-frame-pointer -resource-dir C:/Development/llvm-2.9/build/bin/Release..\lib\clang\2.9 -isystem c:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/include -isystem c:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/atlmfc/include -isystem C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/include -isystem C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A//include -isystem c:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/include -isystem c:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/atlmfc/include -isystem C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/include -isystem C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A//include -D COMPILING_WITH_CLANG_VSX -D UNICODE -D _UNICODE -D WIN32 -D _DEBUG -D _CONSOLE -D _MT -D _DLL -D _DEBUG -O0 -ferror-limit 19 -fmessage-length 0 -fcatch-undefined-behavior -fexceptions -fno-rtti -fms-extensions -fmsc-version=1300 -fgnu-runtime -fdiagnostics-show-option -o Debug\ClangTest.obj -x c C:\Development\ClangTest\ClangTest.c
    2. parser at end of file
    3. Code generation
    4. Running pass 'Function Pass Manager' on module 'C:\Development\ClangTest\ClangTest.c'.
    5. Running pass 'Prolog/Epilog Insertion & Frame Finalization' on function '@main'
      clang: error: clang frontend command failed due to signal 1073741571 (use -v to see invocation)

git problem

$ git clone https://github.com/ishani/ClangVSx.git
Cloning into ClangVSx...
error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/ish
ani/ClangVSx.git/info/refs

fatal: HTTP request failed
$ uname -a
CYGWIN_NT-6.1-WOW64 max 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin

"File was not found" when trying to download pre-built 0.3

When trying to download the pre-built version from Github:

ClangVSx-0.3.zip — Built version of 0.3 (2012-05-28) ready to drop into VS2010

A "File was not found" error appears on the webpage. ClangVSx-0.2.zip downloads correctly.

Compilation should not stop after 5 errors

I use ClangVSx to get better error messages, and to diagnose msvc crashes. I also use exceptions in my program, which clang can't compile. So, there were more than 5 files that didn't compile, and ClangVSx stopped compiling before getting to the real problem, and without telling me why (I had to open it in the debugger to find what was wrong.)

So, it would be very helpful to have a "More than x errors, stopping compilation" message. Personally I would just disable this feature, since most build systems don't have it.

If LTO-Opt fails, its output isn't displayed

CVXBuildSystem.cs:1069

       if (linkProcess.ExitCode != 0)
        {
          WriteToOutputPane("LTO-Opt failed.\n" + linkProcess.StartInfo.Arguments + "\n");
+          WriteToOutputPane(outputStr);
          return false;
        }
        WriteToOutputPane(outputStr);

VS 2015 addin support

If I'm not mistaken, VS addin support is getting dropped for VS 2015 (doesn't work in RC already); what are the plans, if any, to port this to a VS extension?

Or is the add-in getting dropped completely for the native support that's been rumored to be coming for Windows development with Clang on VS (not the mobile development that's already in RC) ?

VS110COMNTOOLS ENV Variable in CVXBuildSystem.cs does not give proper path

I have VS2013 on a seperate HDD, not sure if that is the issue, but the short of it is the lib.exe and link.exe are not being pathed too.

I manually went in and added my path to VS2013 in place of the path gotten from VS110COMNTOOLS and then built the solution and it now works.

I recommend a short term fix of adding an optional user input for the folder path of their VS2013 in the option window opened from the clang menu.

Thank you for making this!

Debug logging

I just installed the latest binaries. Compiling an individual file via the context menu works (after working around #13). However, choosing Clang->Rebuild Active Project gives

ClangVSx 0.5 | LLVM/Clang C++ Compiler Bridge | www.ishani.org

Exception During Build : 
The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

It would be helpful to have some logging to dig into the problem. Or if it's already there, some mention of it in the docs.

support for Zm cmdline option

qmake automatically adds something like '-Zm200 -w33000' to the commandline with VS2010.
Response: clang: error: unsupported use of internal gcc -Z option

No prebuilt zip anywhere

The homepage and the README.md keep talking about a prebuilt zip for VS10 and VS12, but never links them anywhere. There are no zip files or binaries in the repository either. I have spent almost half an hour looking for them everywhere, googling them, etc. without any luck.

Exception in VS10

When building with VS10 and adding it to the Addin folder, VS10 complains about an exception in an addin and suggests removing it. When choosing to not remove it and restarting VS10, the message does not appear, but there is no Clang menu.

analyzer support

Maybe for a single file as a start and later for a whole project with some sort of visualization, either directly in VS or via some xml/html output or whatever :)

VS 2013 Support

Will this work with the new 2013 version of Visual Studio? I'm kind of stuck using the new version for work but would rather use clang.

ClangVSx Cannot Find lib.exe

I have installed the most recent version of ClangVSx and the prebuilt Christmas 2012 of Clang. I have tested Clang manually from the command prompt and it works. When I try to build a project in Visual Studio using Clang, I get the following error:
Could not find lib.exe, check ClangVSx Settings - tried:
C:\Program Files(x86)\Microsoft Visual Studio 11.0\VC\bin\lib.exe

However, I installed Visual Studio to a different location:
E:\Programs\VisualStudio2012
The lib.exe file is present in E:\Programs\VisualStudio2012\VC\bin
How can I configure ClangVSx to look in the correct location?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.