Questions tagged [pre-compilation]

77 questions
1
vote
6 answers

HP Fortify scans get ASP Pre-Compilation error

I am using Visual Studio 2012 and HP Fortify 4.21 with the latest rule packs. The code (C#) lives on the same machine that has HP Fortify and I am only using AWB not SCC. The code successfully builds when the developer does the build, but when I…
quinnles
  • 11
  • 1
  • 2
1
vote
2 answers

Mechanism for extensible conditional statement

I have these lines in my code: //lines in mycode.c++ QString str = "...some id..."; if( str == "int") foo< int>() else if( str == "QString") foo< QString>() ... I need to create a mechanism to include custom…
Valentin T.
  • 519
  • 3
  • 12
1
vote
1 answer

Handlebars precompilation via nodejs fails on Cloud9

I am using handlebars template precompiler for express (https://github.com/diffsky/hbsc) to precompile my templates in nodejs. It works great when i do it localy but when i try it in cloud9 ide (https://c9.io) it works the first time and then i only…
0
votes
1 answer

iOS: Pro/Lite versions with pre-compilation in Xcode

I have a project whose a pro application target. I want to make a Lite version but not to make another project and copy-paste the files from the full project. Is there any pre-compilation way in Xcode to make two build settings and compiled code for…
Ahmed Said
  • 1,285
  • 5
  • 16
  • 28
0
votes
1 answer

How to properly hardcode compiler's define flag (-D) with #define in c (arduino)

What is the best way to hardcode the compiler's -D flag into the source files? I want to put the #define in one of the headers and then import bunch of stuff that should react to that define. Does it work like that? Which header should I put it? Or…
Juha
  • 2,053
  • 23
  • 44
0
votes
1 answer

Could not load type 'ASP.xxx' when referencing a precompiled master page

I'm attempting to precompile a few master pages (not update-able) to share them across multiple applications. The project I'm precompiling is a Web Site. The project that references precompiled assemblies is a Web Application. However, I'm getting a…
Sergey Akopov
  • 1,130
  • 1
  • 11
  • 25
0
votes
1 answer

Tomcat JSP Pre-Compilation

I am trying to pre-compile jsp's using curl command. Almost all of the jsps are getting successfully pre-compiled and executed but execution for few of them are failing for some reason. But since, jsp's are already compiled, I believe that the time…
0
votes
1 answer

Log4cpp Naming Collision for 'DEBUG' detected.

Issue When compiling my project, I get an error with the log4cpp files. The error is the following : /usr/include/log4cpp/Priority.hh:49:2: erreur: #error Naming collision for 'DEBUG' detected. Please read the FAQ for a workaround. The file The…
Clovel
  • 58
  • 10
0
votes
1 answer

ASP.Net Core compile views in library project

I have an asp.net core mvc project compiled as a dll: Library This project is referenced from a Windows Service project (classic .NET) and hosted inside it. This works well while I don't have views. The problem I have is…
0
votes
0 answers

Precompile not working in razor pages

I am new to Razor Pages (and have never done MVC), and it would really help me learn if I could precompile, but I can't get it to work. I have a newly created project in Visual Studio with Razor 3.2.4 and WebPages 3.2.4. My project has a single…
Jim S
  • 1,069
  • 3
  • 10
  • 17
0
votes
1 answer

C++ #define that gets a string

I want to create a VERY basic obfuscation method, basically I just wanna xor every string so calling printf("%s\n", OBF("Test")); Will generate something like printf("%s\n", unxor("\x65\x54\x42\x45")); I xored the string with 1 in this case
Lucifer M
  • 21
  • 3
0
votes
1 answer

precompiled asp.net website give an error

I have one ASP.Net website.As its a website there is separate dll file in bin for each aspx.cs file after publishing the website.So if we want to change anything on live environment we again need to publish whole site.If I try to replace specific…
User1710
  • 191
  • 1
  • 4
  • 19
0
votes
1 answer

Error: 'ALIGN' undeclared (first use in this function) with ALIGN defined into macro

I have a strange error at compilation of the following source : #include #include #include #include #ifdef SSE #include #define ALIGN 16 void addition_tab(int size, double *a,…
user1773603
0
votes
2 answers

Install HHVM on IBM Bluemix

I have a web application on IBM Bluemix. I would like to speed up the app by precompiling the PHP by using Facebook's HHVM. How can this be done? Is this possible on Bluemix? Thank you, --
Leopold Joy
  • 4,524
  • 4
  • 28
  • 37
0
votes
4 answers

How to reduce compile time for large C++ library of individual .cpp files?

We're developing a C++ library with currently over 500 hundred individual .cpp files. These are each compiled and archived into a static library. Even with a parallel build, this takes some minutes. I'd like to reduce this compilation time. Each…